mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
Updated toderp
This commit is contained in:
@ -14,7 +14,6 @@ angular.module('ionic.todo.services', ['ionic.todo', 'firebase'])
|
||||
});
|
||||
|
||||
return {
|
||||
|
||||
// Try to log in with the given email and pass
|
||||
login: function(email, password) {
|
||||
if(!email || !password) {
|
||||
@ -28,6 +27,10 @@ angular.module('ionic.todo.services', ['ionic.todo', 'firebase'])
|
||||
});
|
||||
},
|
||||
|
||||
logout: function() {
|
||||
angularFireAuth.logout();
|
||||
},
|
||||
|
||||
// Try to sign up with the given email and pass
|
||||
signup: function(email, password) {
|
||||
if(!email || !password) {
|
||||
|
||||
Reference in New Issue
Block a user