A1Gard 5 months ago
parent c8caf76cab
commit e08df2e4fe

@ -33,11 +33,11 @@ class ClientController extends Controller
{
if (!auth()->check()){
abort(403);
}
$this->middleware(function ($request, $next) {
if (!auth()->check()){
abort(403);
}
if ($request->attributes->get('set_lang') != true) {
app()->setLocale(config('app.locale'));
\Session::remove('locate');

Loading…
Cancel
Save