Fixing information disclosure when resetting password
parent
343eafc570
commit
e269e79f10
|
@ -261,9 +261,7 @@ ForgotPasswordDirective = ($auth, $confirm, $location, $navUrls) ->
|
||||||
onSuccessSubmit = (response) ->
|
onSuccessSubmit = (response) ->
|
||||||
$location.path($navUrls.resolve("login"))
|
$location.path($navUrls.resolve("login"))
|
||||||
$confirm.success("<strong>Check your inbox!</strong><br />
|
$confirm.success("<strong>Check your inbox!</strong><br />
|
||||||
We have sent a mail to<br />
|
We have sent you an email with the instructions to set a new password") #TODO: i18n
|
||||||
<strong>#{response.data.email}</strong><br />
|
|
||||||
with the instructions to set a new password") #TODO: i18n
|
|
||||||
|
|
||||||
onErrorSubmit = (response) ->
|
onErrorSubmit = (response) ->
|
||||||
$confirm.notify("light-error", "According to our Oompa Loompas,
|
$confirm.notify("light-error", "According to our Oompa Loompas,
|
||||||
|
|
Loading…
Reference in New Issue