Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 91b0292

Browse files
committed
Make sure to clear the session loaded repos on disconnect
1 parent 707768b commit 91b0292

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/core/src/pydio/Core/Services/AuthService.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ public static function disconnect()
164164
CookiesHelper::clearRememberCookie($user);
165165
Logger::info(__CLASS__, "Log Out", "");
166166
SessionService::delete(SessionService::USER_KEY);
167+
SessionService::invalidateLoadedRepositories();
167168
if (ConfService::getContextConf(Context::contextWithObjects($user, null), "SESSION_SET_CREDENTIALS", "auth")) {
168169
MemorySafe::clearCredentials();
169170
}

0 commit comments

Comments
 (0)