feat: implement forgot password, added security updates
This commit is contained in:
13
.env
13
.env
@@ -30,11 +30,16 @@ EMAIL_FROM=SkyMoney Budget <no-reply@skymoneybudget.com>
|
||||
EMAIL_BOUNCE_FROM=bounces@skymoneybudget.com
|
||||
EMAIL_REPLY_TO=support@skymoneybudget.com
|
||||
|
||||
UPDATE_NOTICE_VERSION=2
|
||||
UPDATE_NOTICE_TITLE=SkyMoney Security Update
|
||||
UPDATE_NOTICE_BODY=We strengthened OWASP security controls, auth protections, and deployment security checks.
|
||||
UPDATE_NOTICE_VERSION=3
|
||||
UPDATE_NOTICE_TITLE=SkyMoney Update
|
||||
UPDATE_NOTICE_BODY=We shipped account security improvements, including a new password reset flow and stronger session protections.
|
||||
|
||||
ALLOW_INSECURE_AUTH_FOR_DEV=false
|
||||
JWT_ISSUER=skymoney-api
|
||||
JWT_AUDIENCE=skymoney-web
|
||||
AUTH_MAX_FAILED_ATTEMPTS=5
|
||||
AUTH_LOCKOUT_WINDOW_MS=900000
|
||||
AUTH_LOCKOUT_WINDOW_MS=900000
|
||||
|
||||
PASSWORD_RESET_TTL_MINUTES=30
|
||||
PASSWORD_RESET_RATE_LIMIT_PER_MINUTE=5
|
||||
PASSWORD_RESET_CONFIRM_RATE_LIMIT_PER_MINUTE=10
|
||||
|
||||
Reference in New Issue
Block a user