MeNeedz Auth |
[eluser]SaSHka[/eluser]
[quote author="waldmeister" date="1227337181"]But you can see the form to login?[/quote] Yes!
[eluser]davidbehler[/eluser]
What happens when you click the submit button? Do you see the form again or just a white page?
[eluser]SaSHka[/eluser]
I see the form again Also I see the debugger information Code: URI STRING
[eluser]davidbehler[/eluser]
Have you checked your config? Whats the value for the password in the database? Have you created the user by hand or used the registration function?
[eluser]SaSHka[/eluser]
For registration I use the controller Code: function register() View Code: <html> User table user_id user_name user_password user_salt user_group user_email 1 sashka a1e55335d2c4014f4467d9eef8d6a1bc 8634679e0cdba42fd6971091b41afd13 [email protected] 3 nosize 7c16d0582f688a785a1f878964a2c3da 0fb09f0dbfe4dc61cbf58f1c6a8077d5 [email protected] 4 gfhfgh 7d1b267c66f8fbf77bd91c3d4b6c51d9 0db38019664205938378b9fb7222065e 54@dfg,com
[eluser]SaSHka[/eluser]
At switching-off use_encryption preference all has earned!
[eluser]davidbehler[/eluser]
Congratulations, you have just found a bug in my library I have fixed it and uploaded the new version. If you don't want to download the new version you can just replace line 238: Code: $password_hash = $encryption_method(str_replace("%password%", $this->CI->db->escape($user_password), str_replace("%salt%", $this->CI->db->escape($salt), str_replace(".", "", $this->encryption_order)))); Code: $password_hash = $encryption_method(str_replace("%password%", $user_password, str_replace("%salt%", $salt, str_replace(".", "", $this->encryption_order)))); You have to delete all existing users and register them again. After that it should work just fine with and without encryption.
[eluser]SaSHka[/eluser]
Thanks! And in User guide in a database in the table member the column group_id has corrected?
[eluser]davidbehler[/eluser]
Yeah, I have updated the user guide and the library and change the default group foreign key column consistently to group_id. |
Welcome Guest, Not a member yet? Register Sign In |