We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2441626 commit 4e2e221Copy full SHA for 4e2e221
1 file changed
src/Services/Users/SafelyDestroyUserSessionTrait.php
@@ -26,9 +26,7 @@ protected function safelyDestroyUserSession()
26
}
27
28
foreach ($this->userSessionFields as $field) {
29
- if (isset($_SESSION[$this->context . $field])) {
30
- unset($_SESSION[$this->context . $field]);
31
- }
+ unset($_SESSION[$this->context . $field]);
32
33
34
0 commit comments