mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: domain_join: add msg (fix #87)
This commit is contained in:
1 parent
42d48cc3d6
commit
f38c749479
3 files changed
+5
-4
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "2.29.31",
|
||||
"version": "2.29.32",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "dist/loader.js",
|
||||
"typings": "dist/loader.d.ts",
|
||||
|
||||
@@ -288,7 +288,7 @@ class DomainJoinHandler extends Handler {
|
||||
}
|
||||
}
|
||||
await domain.setUserRole(this.domain._id, this.user._id, this.joinSettings.role);
|
||||
this.response.redirect = this.url('domain_main', { query: { notification: 'Successfully joined domain.' } });
|
||||
this.response.redirect = this.url('homepage', { query: { notification: 'Successfully joined domain.' } });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user