core: handle oauth redirect

This commit is contained in:
undefined committed 2022-04-10 19:51:02 +08:00
1 parent fc95226ce4
commit d19476d7e7
4 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "3.11.15",
"version": "3.11.16",
"bin": "bin/hydrooj.js",
"main": "src/loader",
"module": "src/loader",
+1
View File
@@ -410,6 +410,7 @@ class OauthCallbackHandler extends Handler {
this.session.uid = _id;
this.session.scope = PERM.PERM_ALL.toString();
}
this.response.redirect = '/';
}
}