diff options
author | elijah <elijah@riseup.net> | 2016-10-07 17:43:07 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-10-07 17:43:07 -0700 |
commit | 11a3f3f06704c2bd4dd9d3723e1dad666507ab7f (patch) | |
tree | 7d78156abaef403c789955bf9fe53de29b4a92a3 /ui/app/models/account.js | |
parent | 4fc595166ad30c993b30457198d2ec29ba2ce2e5 (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.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/models/account.js b/ui/app/models/account.js index 0ffdb07e..412ee56a 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) } |