authentification
-
login.phputiliseAuthController::login() -
Authentification par email + mot de passe hashé
-
Session démarrée avec sécurisation :
session_start([ 'cookie_httponly' => true, 'use_strict_mode' => true, 'cookie_secure' => isset($_SERVER['HTTPS']), ]); -
Si l’utilisateur est authentifié, redirection vers
/index.php