feat: add DISABLE_ANONYMOUS_USER_CREATE_EMAIL which only allow logi… (#545)

feat: add `DISABLE_ANONYMOUS_USER_CREATE_EMAIL` which only allow login user create email address
This commit is contained in:
Dream Hunter
2025-01-05 18:51:48 +08:00
committed by GitHub
parent e9748be9fe
commit 92620cdedb
11 changed files with 28 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ export const useGlobalState = createGlobalState(
needAuth: false,
adminContact: '',
enableUserCreateEmail: false,
disableAnonymousUserCreateEmail: false,
enableUserDeleteEmail: false,
enableAutoReply: false,
enableIndexAbout: false,