mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-06 21:22:36 +00:00
feat: add more security settings
This commit is contained in:
@ -21,7 +21,7 @@ const SignUp: React.FC = () => {
|
||||
const allowConfirm = email.length > 0 && nickname.length > 0 && password.length > 0;
|
||||
|
||||
useEffect(() => {
|
||||
if (!workspaceStore.profile.enableSignup) {
|
||||
if (workspaceStore.setting.disallowUserRegistration) {
|
||||
return navigateTo("/auth", {
|
||||
replace: true,
|
||||
});
|
||||
|
Reference in New Issue
Block a user