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:
parent
d1714db6f8
commit
8a4d0f7e70
2 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,9 @@ const {
|
|||
} = Ember;
|
||||
|
||||
export default Base.extend({
|
||||
restore(data) {
|
||||
return resolve(data);
|
||||
},
|
||||
authenticate(data) {
|
||||
return resolve(data);
|
||||
}
|
||||
|
|
|
@ -24,6 +24,7 @@ export default Base.extend({
|
|||
},
|
||||
|
||||
authenticate({password, email}) {
|
||||
debugger;
|
||||
let domain = netUtil.getSubdomain();
|
||||
|
||||
if (!isPresent(password) || !isPresent(email)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue