Fix flash messages and fix password reset

This commit is contained in:
Matt Wright
2012-08-15 19:22:24 -04:00
parent 1b505d0f39
commit bb91c4a81a
2 changed files with 11 additions and 8 deletions
+2 -1
View File
@@ -85,7 +85,8 @@ _default_messages = {
'LOGIN_EMAIL_SENT': ('Instructions to log in to your account have been sent to %(email)s', 'success'),
'INVALID_LOGIN_TOKEN': ('Invalid login token', 'error'),
'DISABLED_ACCOUNT': ('Account is disabled', 'error'),
'PASSWORDLESS_LOGIN_SUCCESSFUL': ('You have successfuly logged in', 'success')
'PASSWORDLESS_LOGIN_SUCCESSFUL': ('You have successfuly logged in', 'success'),
'PASSWORD_RESET': ('Your password has successfully been reset. You may now log in.', 'success')
}