Failed to Login with Created Account in Community Auth |
Hello,
I'm currently develop an application using Community Auth, and after initially having no problem setting it all up, I now have weird issue where I can't login using my created user. Previously, I created 2 accounts (both with admin privilege) using the original 'create_user' method from Examples controller (only slightly modified in terms of group id). The user are created successfully, and I can login using those 2 accounts with no problem. Now, whenever I create new account (still using the same method), whether it's a regular member or an admin, I can't seem to login using those newly created account. Here's what the log said: Code: DEBUG - 2016-03-01 15:54:25 --> UTF-8 Support Enabled After some reading (http://stackoverflow.com/questions/31271...odeigniter), I initially thought it's related to me changing encryption key. Truthfully, I don't remember whether I created the first 2 accounts before of after filling out the encryption_key variable in config/config.php. So I tried changing the key, both leaving it empty or using new key created using the Key_creator.php, sadly to no avail. My PHP version is 5.4.7, and I've already tried to print out the posted password using crypt( $password, $hash ), with $password is the posted password and I retrieve $hash from my database, and both have the same value. Any suggestion will be helpful. Let me know if you need any more information. |
Welcome Guest, Not a member yet? Register Sign In |