Skip to content

Commit 4a9a250

Browse files
committed
do not clear login data on every load
logoff is called a lot when a user is not authenticated yet. This can interfere with the oauth login process when calls are made while the user is at the IdP, for example triggered by AJAX beacons like created by the statistics plugin. There is no real reason to delete the temporary session data. We can simply keep it until it is used or replaced by new data.
1 parent fe49fd8 commit 4a9a250

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

auth.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ public function logOff()
124124
if (isset($this->om)) {
125125
$this->om->logout();
126126
}
127-
(Session::getInstance())->clear();
128127
}
129128

130129
// endregion

0 commit comments

Comments
 (0)