mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-21 01:46:28 +08:00
ui: fix #107
This commit is contained in:
1 parent
b49a2fde74
commit
880bbbf56f
4 files changed
+4
-3
No files matched your search
@@ -502,6 +502,7 @@ export class Handler extends HandlerCommon {
|
||||
if (!this.user) this.user = await user.getById('system', 0);
|
||||
throw new NotFoundError(domainId);
|
||||
}
|
||||
this.UiContext.domainId = this.domainId;
|
||||
this.user = await user.getById(domainId, this.session.uid, this.session.scope);
|
||||
if (!this.user) {
|
||||
this.session.uid = 0;
|
||||
|
||||
Reference in new issue
Block a user