We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0b8969 commit a0e8dc0Copy full SHA for a0e8dc0
auth/oidc/classes/loginflow/authcode.php
@@ -106,7 +106,7 @@ public function handleredirect() {
106
// Response from OP.
107
$this->handleauthresponse($requestparams);
108
} else {
109
- if (isloggedin() && empty($justauth) && empty($promptaconsent)) {
+ if (isloggedin() && !isguestuser() && empty($justauth) && empty($promptaconsent)) {
110
if (isset($SESSION->wantsurl) and (strpos($SESSION->wantsurl, $CFG->wwwroot) === 0)) {
111
$urltogo = $SESSION->wantsurl;
112
unset($SESSION->wantsurl);
0 commit comments