Minor fix to #65ccc05 - Fixing information disclosure when resetting password

stable
David Barragán Merino 2015-05-05 20:29:31 +02:00
parent 0b36a223b3
commit ce352fa5e3
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ 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", {email: response.data.email}) text = $translate.instant("FORGOT_PASSWORD_FORM.SUCCESS")
$confirm.success(text) $confirm.success(text)
onErrorSubmit = (response) -> onErrorSubmit = (response) ->