summaryrefslogtreecommitdiff
path: root/www/app/models/account.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/app/models/account.js')
-rw-r--r--www/app/models/account.js8
1 files changed, 4 insertions, 4 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 = []