✨ feat(auth): Refactor mobile authentication config to support whitelist functionality
This commit is contained in:
@@ -24,9 +24,8 @@ export const useGlobalStore = create<GlobalStore>((set) => ({
|
||||
auth: {
|
||||
mobile: {
|
||||
enable: false,
|
||||
limit: 0,
|
||||
interval: 0,
|
||||
expire_time: 0,
|
||||
enable_whitelist: false,
|
||||
whitelist: [],
|
||||
},
|
||||
email: {
|
||||
enable: false,
|
||||
@@ -36,10 +35,6 @@ export const useGlobalStore = create<GlobalStore>((set) => ({
|
||||
},
|
||||
register: {
|
||||
stop_register: false,
|
||||
enable_trial: false,
|
||||
trial_subscribe: 0,
|
||||
trial_time: 0,
|
||||
trial_time_unit: '',
|
||||
enable_ip_register_limit: false,
|
||||
ip_register_limit: 0,
|
||||
ip_register_limit_duration: 0,
|
||||
|
||||
Reference in New Issue
Block a user