mirror of
https://github.com/v2board/v2board.git
synced 2025-01-26 16:09:09 +08:00
update: add register ip limit
This commit is contained in:
parent
e3ffdb7bce
commit
5b293f4cb0
@ -104,7 +104,7 @@ class ConfigController extends Controller
|
|||||||
'tos_url' => config('v2board.tos_url'),
|
'tos_url' => config('v2board.tos_url'),
|
||||||
'currency' => config('v2board.currency', 'CNY'),
|
'currency' => config('v2board.currency', 'CNY'),
|
||||||
'currency_symbol' => config('v2board.currency_symbol', '¥'),
|
'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_count' => config('v2board.register_limit_count', 3),
|
||||||
'register_limit_expire' => config('v2board.register_limit_expire', 60)
|
'register_limit_expire' => config('v2board.register_limit_expire', 60)
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user