summaryrefslogtreecommitdiff
path: root/www/app/models/account.js
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-09-07 18:26:41 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-09-07 18:26:41 -0400
commitbb32165e870b0b17de400dc1d031df0a4529aa64 (patch)
tree38baf4adaaeeb654d96cff2c9528db5e6073e1e9 /www/app/models/account.js
parent1e994786fea5daa16d9f384c24fbc2b2a6280291 (diff)
[refactor] user is now in bonafide namespace
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 = []