Tank Auth v1.0 (CI authentication library) |
[eluser]Agung Wahyudiono[/eluser]
[quote author="brettalton" date="1284750048"][quote author="lolmann" date="1284732972"]He there, I like tank_auth a lot but i have a trouble getting it to work on a server - it worked fine on my local machine. The problem is, Phpass doesn't seem to hash the passwords. So when comparing a password submitted at login to the (hashed) password in the database it fails. Somebody suggested that the problem could be that my server doesn't support the encryption method. But I don't know how to change it. Here are some more details: http://ellislab.com/forums/viewthread/167507/ Any idea how this can be resolved?[/quote] I would say just don't move your database from localhost to the server (or TRUNCATE the `users` table (as in empty it) so when you re-register, phpass will use the authentication system native to that server. Remember phpass will try and use two different php-supported algorithms before going to a hand-written method. Thus, if your localhost is using algorithm, and your server is using another, the two password hashes will not match.[/quote] I have the same problem with him. And now what should I do, so i can get login into my page. |
Welcome Guest, Not a member yet? Register Sign In |