Commit 4812b3c508b6acd8fda211dd776f95d2a9be571a
1 parent
20ef1074
Exists in
master
and in
2 other branches
Ticket #69: Clear password field if login fails
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
ConfJuvApp/www/js/controllers.js
... | ... | @@ -116,6 +116,7 @@ angular.module('confjuvapp.controllers', []) |
116 | 116 | var popup = $ionicPopup.alert({ title: 'Login', template: 'Erro ao efetuar login. Verifique usuário e senha e conexão com a internet.' }); |
117 | 117 | $scope.loggedIn = false; |
118 | 118 | $scope.loading = false; |
119 | + $scope.data.password = ''; | |
119 | 120 | popup.then(function() { |
120 | 121 | $scope.openModal(); |
121 | 122 | }); | ... | ... |