mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-02 10:57:49 +08:00
refactor: 优化清空用户权限缓存逻辑
This commit is contained in:
@@ -46,7 +46,7 @@ public class DefaultReactiveAuthenticationManager implements ReactiveAuthenticat
|
||||
.doOnSuccess(__ -> log.info("clear user {} authentication cache success", event.getUserId()));
|
||||
}
|
||||
if (event.isAsync()) {
|
||||
event.async(operator);
|
||||
event.first(operator);
|
||||
} else {
|
||||
log.warn("please use async for ClearUserAuthorizationCacheEvent");
|
||||
operator.subscribe();
|
||||
|
||||
Reference in New Issue
Block a user