PecanProject / bety

Web-interface to the Biofuel Ecophysiological Traits and Yields Database (used by PEcAn and TERRA REF)
https://www.betydb.org
BSD 3-Clause "New" or "Revised" License
16 stars 38 forks source link

SECRET_KEY_BASE not used #696

Closed robkooper closed 4 years ago

robkooper commented 4 years ago

The variable SECRET_KEY_BASE is actually not used. Setting this variable will not change the encryption key. This is actually set in config/default.yml

robkooper commented 4 years ago

This is fixed in the commit, however if SECRET_KEY_BASE is set, and the BETY app is restarted with the fix, users will no longer be able to login. Unset the environment variable, or create a new user with script/betyuser.sh that admin rights and reset the passwords.