Initial mfa support (for internal users) #93591

Merged
Oleg-Komarov merged 46 commits from mfa into main 2024-08-29 11:44:06 +02:00
Showing only changes of commit 8a7b99e678 - Show all commits

View File

@ -40,7 +40,7 @@ SECRET_KEY = os.getenv('SECRET_KEY', 'default-dev-secret')
# !!!!!!!!!!!! # !!!!!!!!!!!!
# !!!DANGER!!! its loss or bad rotation will lock out all users with MFA!!! # !!!DANGER!!! its loss or bad rotation will lock out all users with MFA!!!
# !!!!!!!!!!!! # !!!!!!!!!!!!
# generate a prod key with ./manage.py createkey # generate a prod key with ./manage.py createkey (you would need to comment out `raise` below)
# and put it as a string in the .env file, # and put it as a string in the .env file,
# .encode('ascii') takes care of making the variable populated with a byte array # .encode('ascii') takes care of making the variable populated with a byte array
NACL_FIELDS_KEY = os.getenv( NACL_FIELDS_KEY = os.getenv(