diff options
-rw-r--r-- | www/app/models/account.js | 8 | ||||
-rw-r--r-- | www/app/models/dummy_account.js | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/www/app/models/account.js b/www/app/models/account.js index fa3b9813..52fea93d 100644 --- a/www/app/models/account.js +++ b/www/app/models/account.js @@ -54,7 +54,7 @@ export default class Account { // returns a promise, fulfill is passed account object // login(password) { - return bitmask.user.auth(this.address, password).then( + return bitmask.bonafide.user.auth(this.address, password).then( response => { if (response.uuid) { this._uuid = response.uuid @@ -69,7 +69,7 @@ export default class Account { // returns a promise, fulfill is passed account object // logout() { - return bitmask.user.logout(this.id).then( + return bitmask.bonafide.user.logout(this.id).then( response => { this._authenticated = false this._address = '@' + this.domain @@ -109,7 +109,7 @@ export default class Account { // returns a promise, fullfill is passed account object // static active() { - return bitmask.user.active().then( + return bitmask.bonafide.user.active().then( response => { if (response.user == '<none>') { return null @@ -140,4 +140,4 @@ export default class Account { // } } -Account.list = []
\ No newline at end of file +Account.list = [] diff --git a/www/app/models/dummy_account.js b/www/app/models/dummy_account.js index bf0391be..99fb6623 100644 --- a/www/app/models/dummy_account.js +++ b/www/app/models/dummy_account.js @@ -22,7 +22,7 @@ export default class DummyAccount { login(password) {return this.account.login(password)} logout() { - return bitmask.user.logout(this.address).then( + return bitmask.bonafide.user.logout(this.address).then( response => { this._authenticated = false this._address = '@' + this.domain |