mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
add email blacklist config
This commit is contained in:
parent
5bc4bff8f9
commit
98e23be297
@ -33,7 +33,8 @@ class ConfigController extends Controller
|
||||
'plan_change_enable' => (int)config('v2board.plan_change_enable', 1),
|
||||
'plan_transfer_hour' => config('v2board.plan_transfer_hour', 12),
|
||||
'try_out_plan_id' => (int)config('v2board.try_out_plan_id', 0),
|
||||
'try_out_hour' => (int)config('v2board.try_out_hour', 1)
|
||||
'try_out_hour' => (int)config('v2board.try_out_hour', 1),
|
||||
'email_suffix_blacklist' => config('v2board.email_suffix_blacklist')
|
||||
],
|
||||
'pay' => [
|
||||
// alipay
|
||||
|
@ -22,6 +22,7 @@ class ConfigSave extends FormRequest
|
||||
'try_out_enable' => 'in:0,1',
|
||||
'try_out_plan_id' => 'integer',
|
||||
'try_out_hour' => 'numeric',
|
||||
'email_suffix_blacklist' => '',
|
||||
// server
|
||||
'server_token' => 'nullable|min:16',
|
||||
'server_license' => 'nullable',
|
||||
|
Loading…
Reference in New Issue
Block a user