update: add register ip limit

This commit is contained in:
tokumeikoi 2022-03-29 21:25:29 +08:00
parent e3ffdb7bce
commit 5b293f4cb0

View File

@ -104,7 +104,7 @@ class ConfigController extends Controller
'tos_url' => config('v2board.tos_url'),
'currency' => config('v2board.currency', 'CNY'),
'currency_symbol' => config('v2board.currency_symbol', '¥'),
'register_limit_by_ip_enable' => config('v2board.register_limit_by_ip_enable', 0),
'register_limit_by_ip_enable' => (int)config('v2board.register_limit_by_ip_enable', 0),
'register_limit_count' => config('v2board.register_limit_count', 3),
'register_limit_expire' => config('v2board.register_limit_expire', 60)
],