-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small bug in create_user() function. #157
Comments
Digging a bit further, the password is always hashed. @Waqas-Ibrahim, also, you shouldn't get an error, as the password is already inserted a couple of lines above there:
could be written differently, but the code is fine. |
@nimrod-cohen It tries to update the password field with new generated password using user_id, but the condition fails as i have set 'use_password_hash' to true. So as i said earlier, data array is null hence the error. |
@Waqas-Ibrahim |
guys i will look over it in 1-2hours |
Guys i fixed the bug. Please test the develop-branch. |
Thanks @REJack 👍 |
I have set "use_password_hash" to true in config file and as you can see the condition will fail and data array stays null. I am getting this error because of it.
The text was updated successfully, but these errors were encountered: