Fixing information disclosure when resetting password

stable
Alejandro Alonso 2015-05-05 19:55:54 +02:00
parent 343eafc570
commit e269e79f10
1 changed files with 1 additions and 3 deletions

View File

@ -261,9 +261,7 @@ ForgotPasswordDirective = ($auth, $confirm, $location, $navUrls) ->
onSuccessSubmit = (response) ->
$location.path($navUrls.resolve("login"))
$confirm.success("<strong>Check your inbox!</strong><br />
We have sent a mail to<br />
<strong>#{response.data.email}</strong><br />
with the instructions to set a new password") #TODO: i18n
We have sent you an email with the instructions to set a new password") #TODO: i18n
onErrorSubmit = (response) ->
$confirm.notify("light-error", "According to our Oompa Loompas,