update: default secure path

This commit is contained in:
tokumeikoi
2022-12-15 10:59:27 +08:00
parent b6f0508858
commit b9f3838e3b
3 changed files with 4 additions and 4 deletions

View File

@ -108,7 +108,7 @@ class ConfigController extends Controller
'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),
'secure_path' => config('v2board.secure_path', config('v2board.frontend_admin_path', crc32(config('app.key'))))
'secure_path' => config('v2board.secure_path', config('v2board.frontend_admin_path', hash('crc32b', config('app.key'))))
],
'subscribe' => [
'plan_change_enable' => (int)config('v2board.plan_change_enable', 1),