Skip to content
Snippets Groups Projects
Commit e8ab5e4f authored by David Siegfried's avatar David Siegfried Committed by Jan-Hendrik Willms
Browse files

dont ignore cid, closes #4313

Closes #4313

Merge request studip/studip!3117
parent edc33ef9
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,11 @@ class LoginNavigation extends Navigation ...@@ -36,7 +36,11 @@ class LoginNavigation extends Navigation
$standard_login_active = true; $standard_login_active = true;
} }
if ($auth_plugin instanceof StudipAuthSSO && isset($auth_plugin->login_description)) { if ($auth_plugin instanceof StudipAuthSSO && isset($auth_plugin->login_description)) {
$navigation = new Navigation($auth_plugin->plugin_fullname . ' ' . _('Login'), '?sso=' . $auth_plugin->plugin_name); $navigation = new Navigation(
$auth_plugin->plugin_fullname . ' ' . _('Login'),
Request::url(),
['again' => 'yes', 'sso' => $auth_plugin->plugin_name, 'cancel_login' => 1]
);
$navigation->setDescription($auth_plugin->login_description); $navigation->setDescription($auth_plugin->login_description);
$this->addSubNavigation('login_' . $auth_plugin->plugin_name, $navigation); $this->addSubNavigation('login_' . $auth_plugin->plugin_name, $navigation);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment