DannyNunez / CodeIgniter-HMVC-Starter-Application-

CodeIgniter HMVC Starter Application
15 stars 9 forks source link

User authentication not working for default users #2

Open taragurung opened 9 years ago

taragurung commented 9 years ago

The default users created shows authentication failure though the new users is successfully logging in. The password length for default users and created users is showing different length.

The $dbpassword and hash_password is not giving same and thus the login verification failed

inside module/users/ion_auth_model.php

if ($db_password == $hash_password_db->password) { 308 return TRUE; 309 } else { 310 return FALSE; 311 }

the $db_password and $hash_password_db->password is printing different result and thus not allowing successful login