def send_reset_password_instructions(user):
 token = generate_reset_password_token(user)
 reset_link = url_for_security('reset_password', token=token, _external=True)
 send_mail(config_value('EMAIL_SUBJECT_PASSWORD_RESET'), user.email, 'reset_instructions', user=user, reset_link=reset_link)
 reset_password_instructions_sent.send(app._get_current_object(), user=user, token=token)

def send_reset_password_instructions ( user ) : token = generate_reset_password_token ( user ) reset_link = url_for_security ( 'reset_password' , token = token , _external = True ) send_mail ( config_value ( 'EMAIL_SUBJECT_PASSWORD_RESET' ) , user . email , 'reset_instructions' , user = user , reset_link = reset_link ) reset_password_instructions_sent . send ( app . _get_current_object ( ) , user = user , token = token )
sends the reset password instructions email for the specified user .