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