Open NightDragonOne opened 3 years ago
我也碰到了相同的问题,老哥你是怎么解决的呢??
我也碰到了相同的问题,老哥你是怎么解决的呢??
弃用,没有办法,没有能力兼容
在 AppServiceProvider 的 boot 方法里加上下面这段,从 Dact 里扒出来的。
if (config('admin.route.enable_session_middleware') || config('admin.multi_app')) {
$path = '/'.trim(config('admin.route.prefix'), '/');
config(['session.path' => $path]);
}
php:7.4.7 laravel:7.28.4 dcat-admin:1.7.4
When refreshing this page, two sessions will be generated, and captcha is not saved in the current session