From e269e79f100c3dcc90872e60d71857a35adc1fc2 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Tue, 5 May 2015 19:55:54 +0200 Subject: [PATCH] Fixing information disclosure when resetting password --- app/coffee/modules/auth.coffee | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/coffee/modules/auth.coffee b/app/coffee/modules/auth.coffee index 856488ef..587067bd 100644 --- a/app/coffee/modules/auth.coffee +++ b/app/coffee/modules/auth.coffee @@ -261,9 +261,7 @@ ForgotPasswordDirective = ($auth, $confirm, $location, $navUrls) -> onSuccessSubmit = (response) -> $location.path($navUrls.resolve("login")) $confirm.success("Check your inbox!
- We have sent a mail to
- #{response.data.email}
- 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,