Skip to content

Commit

Permalink
Auth: Fix wrong main bar items on back-button usage after login
Browse files Browse the repository at this point in the history
See: https://mantis.ilias.de/view.php?id=27749
(cherry picked from commit c735e1d)
  • Loading branch information
mjansenDatabay committed Aug 12, 2024
1 parent 820c181 commit a4afa2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Services/Init/classes/class.ilStartUpGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ protected function showLoginPageOrStartupPage(): void
'username' => $this->user->getLogin()
)
);

$this->dic->user()->setId(ANONYMOUS_USER_ID);
$this->dic->user()->read();
}
$this->logger->debug('Show login page');
if (isset($messages) && count($messages) > 0) {
Expand Down

0 comments on commit a4afa2d

Please sign in to comment.