From 7056552d9080389faf53dd08522ad8e5de1b54e4 Mon Sep 17 00:00:00 2001 From: Luiz-FS Date: Wed, 21 Feb 2018 11:23:40 -0300 Subject: [PATCH] Remove comments --- frontend/auth/loginController.js | 17 ++--------------- frontend/auth/reset_password_dialog.html | 4 ++-- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/frontend/auth/loginController.js b/frontend/auth/loginController.js index fda40af7c..27e792faa 100644 --- a/frontend/auth/loginController.js +++ b/frontend/auth/loginController.js @@ -38,19 +38,6 @@ }; loginCtrl.resetPassword = function resetPassword(ev) { - // var confirm = $mdDialog.prompt() - // .title('Esqueceu sua senha?') - // .textContent('Digite seu email e enviaremos um link para criar uma nova senha.') - // .placeholder('Digite seu email') - // .ariaLabel('Digite seu emai') - // .targetEvent(ev) - // .required(true) - // .ok("Redefinir Senha") - // .cancel("Cancelar"); - - // $mdDialog.show(confirm).then(function(email) { - // AuthService.resetPassword(email); - // }); $mdDialog.show({ controller: "ResetPasswordController", controllerAs: "resetCtrl", @@ -88,11 +75,11 @@ var resetCtrl = this; resetCtrl.email = ''; - resetCtrl.showNextScreen = false; + resetCtrl.showConfirmedRest = false; resetCtrl.resetPassword = function resetPassword() { AuthService.resetPassword(resetCtrl.email); - resetCtrl.showNextScreen = true; + resetCtrl.showConfirmedRest = true; }; resetCtrl.closeResetDialog = function closeResetDialog() { diff --git a/frontend/auth/reset_password_dialog.html b/frontend/auth/reset_password_dialog.html index 0b97beb38..f76f8a614 100644 --- a/frontend/auth/reset_password_dialog.html +++ b/frontend/auth/reset_password_dialog.html @@ -6,7 +6,7 @@
-
+
Redefinir sua senha @@ -23,7 +23,7 @@
-
+

Você receberá dentro de instantes no e-mail {{resetCtrl.email}} um link para redefinição da senha.