Permalink
Browse files

Make sure to clear the session loaded repos on disconnect

  • Loading branch information...
1 parent 707768b commit 91b02926c527210eec467ec4eb16cf17db3130af @cdujeu cdujeu committed Oct 13, 2016
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/src/core/src/pydio/Core/Services/AuthService.php
@@ -164,6 +164,7 @@ public static function disconnect()
CookiesHelper::clearRememberCookie($user);
Logger::info(__CLASS__, "Log Out", "");
SessionService::delete(SessionService::USER_KEY);
+ SessionService::invalidateLoadedRepositories();
if (ConfService::getContextConf(Context::contextWithObjects($user, null), "SESSION_SET_CREDENTIALS", "auth")) {
MemorySafe::clearCredentials();
}

0 comments on commit 91b0292

Please sign in to comment.