core: domain_join: add msg (fix #87)

This commit is contained in:
undefined committed 2021-07-20 23:04:59 +08:00
1 parent 42d48cc3d6
commit f38c749479
3 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -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.' } });
}
}