From 11a3f3f06704c2bd4dd9d3723e1dad666507ab7f Mon Sep 17 00:00:00 2001 From: elijah Date: Fri, 7 Oct 2016 17:43:07 -0700 Subject: [feat] ui - add support for sign up with invite code --- ui/app/models/account.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/app/models/account.js') 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) } -- cgit v1.2.3