Skip to content
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

v20 MAIN_SECURITY_SALT is undefined #15

Open
JonBendtsen opened this issue Sep 18, 2024 · 0 comments
Open

v20 MAIN_SECURITY_SALT is undefined #15

JonBendtsen opened this issue Sep 18, 2024 · 0 comments

Comments

@JonBendtsen
Copy link
Contributor

about security page says:

MAIN_SECURITY_SALT = Undefined
The recommended value for MAIN_SECURITY_HASH_ALGO is now 'password_hash' but setting it now will make ALL existing passwords of all users not valid, so update is not possible.
If you really want to switch, you must:
- Go on home - setup - other and add constant MAIN_SECURITY_HASH_ALGO to value 'password_hash'
- In same session, WITHOUT LOGGING OUT, go into your admin user record and set a new password
- You can now logout and login with this new password. You must now reset password of all other users.

I wish this could be a environment variable (or secret) that I could set for new installations, or possibly something randomly generated which is stored in a permanent file or in the database? Nah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant