OIDC test - test jumbojett oidc round two immediate login
This commit is contained in:
1 parent
0dd3e43893
commit
c5c1081589
1 file changed
+3
-3
+3
-3
@@ -4,9 +4,9 @@ $config = require __DIR__ . '/../config.php';
|
|||||||
|
|
||||||
if (!isset($_SESSION['authenticated'])) {
|
if (!isset($_SESSION['authenticated'])) {
|
||||||
// User not logged in – show a login button
|
// User not logged in – show a login button
|
||||||
echo '<h1>Welcome to the demo</h1>';
|
// echo '<h1>Welcome to the demo</h1>';
|
||||||
echo '<p><a href="auth.php">Login with Authelia SSO</a></p>';
|
// echo '<p><a href="auth.php">Login with Authelia SSO</a></p>';
|
||||||
exit;
|
$login = require __DIR__ . "/auth.php";
|
||||||
}
|
}
|
||||||
|
|
||||||
// The user is logged in – display the attributes
|
// The user is logged in – display the attributes
|
||||||
|
|||||||
Reference in new issue
Block a user