Change password feature (maybe)

This commit is contained in:
2025-10-01 16:55:28 +02:00
parent e8079c2ce7
commit 0265af9dd2
6 changed files with 89 additions and 4 deletions

View File

@@ -14,5 +14,6 @@ $oidc->setRedirectURL('https://<APP_DOMAIN>/admin/login.php');
$oidc->authenticate();
$userinfo = $oidc->getVerifiedClaims();
$_SESSION['admin'] = $userinfo->preferred_username;
$_SESSION['auth_type'] = 'keycloak';
header("Location: index.php");
exit;