mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-06 07:57:04 +08:00
feat: support admin create address && add ENABLE_USER_CREATE_EMAIL config (#175)
This commit is contained in:
@@ -11,12 +11,10 @@ export const useGlobalState = createGlobalState(
|
||||
prefix: '',
|
||||
needAuth: false,
|
||||
adminContact: '',
|
||||
enableUserCreateEmail: false,
|
||||
enableUserDeleteEmail: false,
|
||||
enableAutoReply: false,
|
||||
domains: [{
|
||||
label: 'test.com',
|
||||
value: 'test.com'
|
||||
}]
|
||||
domains: []
|
||||
})
|
||||
const settings = ref({
|
||||
fetched: false,
|
||||
@@ -38,7 +36,6 @@ export const useGlobalState = createGlobalState(
|
||||
const jwt = useStorage('jwt', '');
|
||||
const localeCache = useStorage('locale', 'zh');
|
||||
const themeSwitch = useStorage('themeSwitch', false);
|
||||
const showLogin = ref(false);
|
||||
const adminTab = ref("account");
|
||||
const adminMailTabAddress = ref("");
|
||||
const adminSendBoxTabAddress = ref("");
|
||||
@@ -55,7 +52,6 @@ export const useGlobalState = createGlobalState(
|
||||
themeSwitch,
|
||||
adminAuth,
|
||||
showAdminAuth,
|
||||
showLogin,
|
||||
adminTab,
|
||||
adminMailTabAddress,
|
||||
adminSendBoxTabAddress,
|
||||
|
||||
Reference in New Issue
Block a user