mirror of
http://124.126.16.154:8888/singularity/hyperf-saml.git
synced 2026-01-15 07:35:07 +08:00
@@ -91,7 +91,7 @@ class Assertion
|
||||
$user = new User($user);
|
||||
|
||||
// 更新
|
||||
$token = $this->authentication->generate(new User($user));
|
||||
$token = $this->authentication->generate($user);
|
||||
// 记录映射
|
||||
$key = "{$redis_prefix}user:token_map:{$user['uid']}";
|
||||
if ($allow_multi_online) {
|
||||
@@ -106,7 +106,7 @@ class Assertion
|
||||
return $this->response->redirect($url, RFC7231::FOUND);
|
||||
}
|
||||
|
||||
return $user->toResponse();
|
||||
return $user;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user