mirror of
http://124.126.16.154:8888/singularity/hdk-auth.git
synced 2026-01-15 03:35:05 +08:00
fix(session): 修复了写反的存储逻辑
This commit is contained in:
@@ -68,7 +68,7 @@ class SessionMiddleware implements MiddlewareInterface
|
||||
*
|
||||
* (除非重写整套 RedisHandler/RedisHandlerFactory/...)
|
||||
*/
|
||||
if (!$this->auth($session)) {
|
||||
if ($this->auth($session)) {
|
||||
$this->sessionManager->end($session);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user