Univention Bugzilla – Bug 34647
Displayed username in UMC header not correct for some cases
Last modified: 2014-12-16 17:06:42 CET
Sometimes it occurs that the displayed username (in the UMC header) is incorrect. This is probably a side effect of the cookie in which the last username is saved. AFAIK the username is internally set after a successful AUTH command. However, the username might already be set up before the real login finished. In consequence, the value stored in the cookie is used: > ... > tools.status('username', props.username || cookie('UMCUsername')); > ... It probably would be better (similar to hostname) to set the username after successful login, i.e., move the part below from the function setupStaticGui() into setupGui(): > this._headerRight.addChild(new Text({ > id: 'umcMenuUsername', > 'class': 'umcHeaderText', > content: _('umcUserInfo', { > username: tools.status('username') > }) > }));
Also noticed in the Technical Training.
*** Bug 31981 has been marked as a duplicate of this bug. ***
(In reply to Florian Best from comment #2) > *** Bug 31981 has been marked as a duplicate of this bug. *** This bug explains how it can be reproduced.
*** Bug 36027 has been marked as a duplicate of this bug. ***
I fixed this along with UCS 4.0.