Merge branch 'develop' into trunk

This commit is contained in:
Vincent BRIDIER 2024-07-25 13:05:46 +02:00
commit 2c3169619c
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');