WIP: #6427 - SMS Recover Password #2037

Draft
jsegarra wants to merge 77 commits from 6427_sms_resetPassword into dev
2 changed files with 1 additions and 7 deletions
Showing only changes of commit 3565e433c2 - Show all commits

View File

@ -24,8 +24,7 @@
disabled="$ctrl.otp"
label="User's phone"
ng-model="$ctrl.user"
required="true"
vn-focus>
required="true">
</vn-textfield>
<vn-textfield
ng-if="$ctrl.otp"

View File

@ -12,11 +12,6 @@ export default class Controller {
$state,
$location
jsegarra marked this conversation as resolved Outdated
Outdated
Review

Esto cuando se usa??

Esto cuando se usa??
});
$scope.$watch('$ctrl.user', function(nuevoValor) {
let isSms = /([+]\d{2})?\d{9}$/ig.test(nuevoValor ?? '');
// Evaluo si el valor introducido es un número y se marca o desmarca el checkbox de revibir por sms
$scope.$ctrl.sms = isSms;
});
}
goToLogin() {