summaryrefslogtreecommitdiff
path: root/ui/app/models/account.js
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-10-07 17:43:07 -0700
committerelijah <elijah@riseup.net>2016-10-07 17:43:07 -0700
commit11a3f3f06704c2bd4dd9d3723e1dad666507ab7f (patch)
tree7d78156abaef403c789955bf9fe53de29b4a92a3 /ui/app/models/account.js
parent4fc595166ad30c993b30457198d2ec29ba2ce2e5 (diff)
[feat] ui - add support for sign up with invite code
Diffstat (limited to 'ui/app/models/account.js')
-rw-r--r--ui/app/models/account.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/models/account.js b/ui/app/models/account.js
index 0ffdb07..412ee56 100644
--- a/ui/app/models/account.js
+++ b/ui/app/models/account.js
@@ -135,8 +135,8 @@ export default class Account {
})
}
- static create(address, password) {
- return bitmask.bonafide.user.create(address, password).then(
+ static create(address, password, invite=null) {
+ return bitmask.bonafide.user.create(address, password, invite).then(
response => {
return new Account(address)
}