Initial commit

This commit is contained in:
Ronald Huynen
2026-03-23 21:37:59 +01:00
commit 2547717edb
2193 changed files with 972171 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace App\Auth;
use Illuminate\Auth\SessionGuard;
class DockerSessionGuard extends SessionGuard
{
/**
* Update the session with the given ID.
*
* @param string $id
* @return void
*/
protected function updateSession($id)
{
$this->session->put($this->getName(), $id);
// In Docker, skip session migration to avoid session persistence issues
// Only regenerate the CSRF token, don't migrate the session ID
$this->session->regenerateToken();
// Note: We intentionally skip session->migrate() here for Docker compatibility
// In production, you should use the standard SessionGuard
}
}