Skip to content
Snippets Groups Projects
Commit 16fb672a authored by David Siegfried's avatar David Siegfried
Browse files

dont ignore cid, closes #4313

Closes #4313

Merge request !3117
parent f2dd56af
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,11 @@ class LoginNavigation extends Navigation
$standard_login_active = true;
}
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);
$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