diff --git a/dashboard/src/js/client.js b/dashboard/src/js/client.js index 8c403f4df..6cd632f85 100644 --- a/dashboard/src/js/client.js +++ b/dashboard/src/js/client.js @@ -746,7 +746,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout this._userInfo.twoFactorAuthenticationEnabled = userInfo.twoFactorAuthenticationEnabled; this._userInfo.role = userInfo.role; this._userInfo.source = userInfo.source; - this._userInfo.avatarUrl = userInfo.avatarUrl + '?s=128&default=mp&ts=' + Date.now(); // we add the timestamp to avoid caching + this._userInfo.avatarUrl = userInfo.avatarUrl + '?ts=' + Date.now(); // we add the timestamp to avoid caching this._userInfo.hasBackgroundImage = userInfo.hasBackgroundImage; this._userInfo.isAtLeastOwner = [ ROLES.OWNER ].indexOf(userInfo.role) !== -1; this._userInfo.isAtLeastAdmin = [ ROLES.OWNER, ROLES.ADMIN ].indexOf(userInfo.role) !== -1;