Add cloudron purpose to appstore login/signup flow
This commit is contained in:
@@ -2206,11 +2206,12 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.registerCloudron = function (email, password, totpToken, signup, callback) {
|
||||
Client.prototype.registerCloudron = function (email, password, totpToken, signup, purpose, callback) {
|
||||
var data = {
|
||||
email: email,
|
||||
password: password,
|
||||
signup: signup
|
||||
signup: signup,
|
||||
purpose: purpose
|
||||
};
|
||||
|
||||
if (totpToken) data.totpToken = totpToken;
|
||||
|
||||
Reference in New Issue
Block a user