1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-08 06:55:28 +02:00

Add restore method to anonymous authenticator

This commit is contained in:
zinyando 2016-06-30 16:45:45 +02:00
parent d1714db6f8
commit 8a4d0f7e70
2 changed files with 4 additions and 0 deletions

View file

@ -6,6 +6,9 @@ const {
} = Ember;
export default Base.extend({
restore(data) {
return resolve(data);
},
authenticate(data) {
return resolve(data);
}

View file

@ -24,6 +24,7 @@ export default Base.extend({
},
authenticate({password, email}) {
debugger;
let domain = netUtil.getSubdomain();
if (!isPresent(password) || !isPresent(email)) {