Grafikart,
il y a 9 ans
vm.Auth est undefined, pourquoi ne pas faire ? Auth.$sign....
Bonjour,
Voila je rencontre un petit problème avec mon code au niveau du .$signInWithEmailAndPassword.
angular.js:13920 TypeError: Cannot read property '$signInWithEmailAndPassword' of undefined
En Plan B j'ai le script sur https://plnkr.co/edit/LDaSAuiV3Kc2KJk5eT7j?p=preview ... Mais bon... ça ne reprend pas toutes mes données.
Comment changer de type dans cette fonction ?
Merci,
Cordialement,
vm.Auth est undefined, pourquoi ne pas faire ? Auth.$sign....
Bonjour,
Merci. A cela mon collègue a rajouté ces modifs et ça marche. :)
Auth.$signInWithEmailAndPassword(vm.email, vm.password)
.then(function (data) {
vm.email = null;
vm.password = null;
$state.go('status');