diff --git a/src/js/client.js b/src/js/client.js index e9f1e6e34..b9f8be77a 100644 --- a/src/js/client.js +++ b/src/js/client.js @@ -1819,6 +1819,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout active: user.active, role: user.role }; + if (user.username) data.username = user.username; post('/api/v1/users/' + user.id, data, null, function (error, data, status) { if (error) return callback(error); diff --git a/src/views/users.html b/src/views/users.html index bd6b50ae8..0a48ad1ec 100644 --- a/src/views/users.html +++ b/src/views/users.html @@ -175,6 +175,14 @@