This commit is contained in:
undefined committed 2021-04-21 23:21:08 +08:00
1 parent b49a2fde74
commit 880bbbf56f
4 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "2.23.16",
"version": "2.23.17",
"bin": "bin/hydrooj.js",
"main": "dist/loader.js",
"typings": "dist/loader.d.ts",
+1
View File
@@ -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;