mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: secure_path minimum length limit
This commit is contained in:
parent
1a3618499f
commit
57ef51f5d1
@ -46,7 +46,7 @@ class ConfigSave extends FormRequest
|
||||
'register_limit_by_ip_enable' => 'in:0,1',
|
||||
'register_limit_count' => 'integer',
|
||||
'register_limit_expire' => 'integer',
|
||||
'secure_path' => '',
|
||||
'secure_path' => 'min:8',
|
||||
// subscribe
|
||||
'plan_change_enable' => 'in:0,1',
|
||||
'reset_traffic_method' => 'in:0,1,2,3,4',
|
||||
@ -106,7 +106,8 @@ class ConfigSave extends FormRequest
|
||||
'server_token.min' => '通讯密钥长度必须大于16位',
|
||||
'tos_url.url' => '服务条款URL格式不正确,必须携带http(s)://',
|
||||
'telegram_discuss_link.url' => 'Telegram群组地址必须为URL格式,必须携带http(s)://',
|
||||
'logo.url' => 'LOGO URL格式不正确,必须携带https(s)://'
|
||||
'logo.url' => 'LOGO URL格式不正确,必须携带https(s)://',
|
||||
'secure_path.min' => '后台路径长度最小为8位'
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -237,5 +237,5 @@ return [
|
||||
| The only modification by laravel config
|
||||
|
|
||||
*/
|
||||
'version' => '1.7.1.1671082585916'
|
||||
'version' => '1.7.2'
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user