Improve avatar settings dialog

This commit is contained in:
Johannes Zellner
2019-12-12 15:34:26 +01:00
parent fd528edfed
commit 2eeb99e869
4 changed files with 48 additions and 28 deletions

View File

@@ -333,7 +333,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
this._userInfo.twoFactorAuthenticationEnabled = userInfo.twoFactorAuthenticationEnabled;
this._userInfo.admin = userInfo.admin;
this._userInfo.source = userInfo.source;
this._userInfo.avatarUrl = userInfo.avatarUrl;
this._userInfo.avatarUrl = userInfo.avatarUrl + '?' + Date.now(); // we add the timestamp to avoid caching
};
Client.prototype.setConfig = function (config) {