Ion Auth - Lightweight Auth System based on Redux Auth 2 |
[eluser]Ben Edmunds[/eluser]
Hey Sinclair, The create_user() method in the example code is just an example. Feel free to use the register_user() method of the library in whatever way you need.
[eluser]Sinclair[/eluser]
Thanks for the reply. I will use the Ion Auth for the project. Thanks a lot! I will use postgreSQL database, here is the model for test purposes. Code: CREATE TABLE "users" ( In the project I will not use postgreSQL sequences(same as auto increment of MySQL). I will use triggers instead. Here to share. Best Regards,
[eluser]Ben Edmunds[/eluser]
joytopia, Thank you for finding the error and the fix. I just pushed the changes to git. Thanks!
[eluser]Ben Edmunds[/eluser]
Sinclair, Github's being stupid right now but as soon as it's back up I'll push your file. Thanks for the file!
[eluser]darrenfauth[/eluser]
Ben- I'm finding your Ion Auth to be a great starting point for my project that handles memberships on a site. Thanks for your work...I agree that keeping it lightweight and generic is good. Joytopia- Would you mind sharing your create_user method and view? I'm not missing something here, right? The model has the logic to handle it, but there is not currently a method in the controller. Thanks!
[eluser]Ben Edmunds[/eluser]
Darren, Thanks man! The github repo is now updated with Joytopia's fix. The method to use to create a user is $this->ion_auth->register(). There is an example of using it in the controller's create_user() method.
[eluser]darrenfauth[/eluser]
ahhh....sorry. I meant the update_user function. I'm thinking that is a function that lets you (or the user) update their own (meta) information.
[eluser]Ben Edmunds[/eluser]
Darren, It's the update_user() method of the library, so $this->ion_auth->update_user($id, $data) and $data is an array of the fields to update.
[eluser]Ben Edmunds[/eluser]
All, I just pushed the "remember me" functionality to github. Please abuse it like a crazed maniac and let me know of any errors you find. http://github.com/benedmunds/CodeIgniter-Ion-Auth Thanks! |
Welcome Guest, Not a member yet? Register Sign In |