Change password reset view to use packaged template

This commit is contained in:
Matt Wright
2012-07-12 12:18:08 -04:00
parent da031b8d15
commit 8d1bdca1de
3 changed files with 8 additions and 6 deletions
+3 -2
View File
@@ -278,5 +278,6 @@ def reset_password(token):
do_flash('You did not reset your password within '
'%s.' % _security.reset_password_within)
return redirect(request.referrer or
_security.reset_password_error_view)
return render_template('security/passwords/edit.html',
reset_password_form=form,
password_reset_token=token)