summaryrefslogtreecommitdiff
path: root/ui/app/lib/bitmask.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/lib/bitmask.js
parent4fc595166ad30c993b30457198d2ec29ba2ce2e5 (diff)
[feat] ui - add support for sign up with invite code
Diffstat (limited to 'ui/app/lib/bitmask.js')
-rw-r--r--ui/app/lib/bitmask.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/lib/bitmask.js b/ui/app/lib/bitmask.js
index 823504dc..f388e95f 100644
--- a/ui/app/lib/bitmask.js
+++ b/ui/app/lib/bitmask.js
@@ -143,11 +143,11 @@ var bitmask = function(){
* @param {boolean} autoconf If the provider should be autoconfigured if it's not allready known
* If it's not provided it will default to false
*/
- create: function(uid, password, autoconf) {
+ create: function(uid, password, invite, autoconf) {
if (typeof autoconf !== 'boolean') {
autoconf = false;
}
- return call(['bonafide', 'user', 'create', uid, password, autoconf]);
+ return call(['bonafide', 'user', 'create', uid, password, invite, autoconf]);
},
/**