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
Unable to login after installation #19
Comments
Same problem here |
I'm actually confused, the code here that created password seems to not use the SALT at all: it just pass salt rounds, let bcrypt use a random SALT. |
The password function does not consider the HASH_SALT in your .env file. It chooses a random salt. Can you try updating the password in the database to another value and see if that works? |
Yes. |
i execute the following sql and it works |
Latest push updated the hashes in the sql files just in case, though the original ones should have worked. |
I'm still unable to login, even with a self generated hash. |
@SoftCreatR can you try pulling the latest version? It was incorrectly reporting invalid login/password when it could be due to some other issue. |
@SoftCreatR you have a typo, it's umami not unami |
Oh god... 😸 |
Seems like issues are resolved. Closing this. |
I followed https://umami.is/docs/login but the login credentials does not work.
I guess this is a bug, as I looked at the postgres insert script: https://github.com/mikecao/umami/blob/d3514cfc5f20966612c277a5885356fa220a5ddd/sql/schema.postgresql.sql#L72
It is hardcoded for the password hash there, it does not consider the SALT we chose in the config.
So this salt won't work with the hardcoded hash...
I did not validate this yet, but I guess this is the issue here
The text was updated successfully, but these errors were encountered: