diff --git a/app/coffee/modules/auth.coffee b/app/coffee/modules/auth.coffee index b6448ca9..31f73349 100644 --- a/app/coffee/modules/auth.coffee +++ b/app/coffee/modules/auth.coffee @@ -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") diff --git a/app/locales/taiga/locale-en.json b/app/locales/taiga/locale-en.json index 12dc8ec4..c65155e2 100644 --- a/app/locales/taiga/locale-en.json +++ b/app/locales/taiga/locale-en.json @@ -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": "Check your inbox!
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": {