mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09:38:19 +08:00
core: handle oauth redirect
This commit is contained in:
1 parent
fc95226ce4
commit
d19476d7e7
4 files changed
+3
-3
No files matched your search
@@ -410,6 +410,7 @@ class OauthCallbackHandler extends Handler {
|
||||
this.session.uid = _id;
|
||||
this.session.scope = PERM.PERM_ALL.toString();
|
||||
}
|
||||
this.response.redirect = '/';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user