remove purpose field

This commit is contained in:
Girish Ramakrishnan
2021-08-10 13:29:06 -07:00
parent 47fe89a595
commit 1994ca1ac7
3 changed files with 2 additions and 18 deletions

View File

@@ -2801,12 +2801,11 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
});
};
Client.prototype.registerCloudron = function (email, password, totpToken, signup, purpose, callback) {
Client.prototype.registerCloudron = function (email, password, totpToken, signup, callback) {
var data = {
email: email,
password: password,
signup: signup,
purpose: purpose
};
if (totpToken) data.totpToken = totpToken;