Fix deg pour impl. deg.

This commit is contained in:
Vincent BRIDIER 2024-07-25 13:05:35 +02:00
parent 1aa6efaac5
commit fe0d3c1c3c
No known key found for this signature in database
GPG key ID: 8571BFA20420D512

View file

@ -88,6 +88,9 @@ class LangCheck
*/
private function checkFirstAccess(Request $request)
{
if (\strpos($request->header('User-Agent'), "Uptime-Kuma") !== false) {
return false;
}
// Do we have session ?
if (!$request->session()->has('lang')) {
$fromC = Cookie::get('language');