Fix success message on forgot pass message
parent
9f422ee665
commit
b412350e9f
|
@ -358,8 +358,10 @@ ForgotPasswordDirective = ($auth, $confirm, $location, $navUrls, $translate) ->
|
|||
onSuccessSubmit = (response) ->
|
||||
$location.path($navUrls.resolve("login"))
|
||||
|
||||
text = $translate.instant("FORGOT_PASSWORD_FORM.SUCCESS")
|
||||
$confirm.success(text)
|
||||
title = $translate.instant("FORGOT_PASSWORD_FORM.SUCCESS_TITLE")
|
||||
message = $translate.instant("FORGOT_PASSWORD_FORM.SUCCESS_TEXT")
|
||||
|
||||
$confirm.success(title, message)
|
||||
|
||||
onErrorSubmit = (response) ->
|
||||
text = $translate.instant("FORGOT_PASSWORD_FORM.ERROR")
|
||||
|
|
|
@ -318,7 +318,8 @@
|
|||
"PLACEHOLDER_FIELD": "Username or email",
|
||||
"ACTION_RESET_PASSWORD": "Reset Password",
|
||||
"LINK_CANCEL": "Nah, take me back. I think I remember it.",
|
||||
"SUCCESS": "<strong>Check your inbox!</strong><br />We have sent you an email with the instructions to set a new password",
|
||||
"SUCCESS_TITLE": "Check your inbox!",
|
||||
"SUCCESS_TEXT": "We have sent you an email with the instructions to set a new password",
|
||||
"ERROR": "According to our Oompa Loompas, your are not registered yet."
|
||||
},
|
||||
"CHANGE_PASSWORD": {
|
||||
|
|
Loading…
Reference in New Issue