Add optional password field on usercreation
This commit is contained in:
@@ -1745,6 +1745,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
};
|
||||
|
||||
if (user.username !== null) data.username = user.username;
|
||||
if (user.password !== null) data.password = user.password;
|
||||
|
||||
post('/api/v1/users', data, null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
|
||||
Reference in New Issue
Block a user