Replaced 30 min email exp variable with 1 hour in config for consistency

This commit is contained in:
Andrew Shumway
2023-06-15 08:54:52 -06:00
parent 1b5de90657
commit e0d4fee515
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ def two_factor_email(token):
token,
current_app.config['SECRET_KEY'],
current_app.config['DANGEROUS_SALT'],
current_app.config['EMAIL_2FA_EXPIRY_SECONDS']
current_app.config['EMAIL_EXPIRY_SECONDS']
))
except SignatureExpired:
return render_template('views/email-link-invalid.html', redirect_url=redirect_url)