Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Extra config variable to make sending an email when password is reset optional #199

Closed
petervtzand opened this Issue · 0 comments

2 participants

@petervtzand

When a user has reset his/her password, automatically an email is send. Can we make this optional? So the following config variable must be in_default_config in core.py:

'SECURITY_SEND_PASSWORD_RESET_NOTICE_EMAIL' : True

and in recoverable.py, in the update_password function ( line 78) becomes:

 if config_value('SEND_PASSWORD_RESET_NOTICE_EMAIL'):
     send_password_reset_notice(user)
@mattupstate mattupstate referenced this issue from a commit
@mattupstate Add `SECURITY_SEND_PASSWORD_RESET_NOTICE_EMAIL` config option to opti…
…onally send password reset notice emails. Addresses #199
11b8222
@maebert maebert referenced this issue from a commit in heyinc/flask-security
@mattupstate Add `SECURITY_SEND_PASSWORD_RESET_NOTICE_EMAIL` config option to opti…
…onally send password reset notice emails. Addresses #199
78053aa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.