layout
This commit is contained in:
48
public/auth/register/confirmation/index.php
Normal file
48
public/auth/register/confirmation/index.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
session_start();
|
||||
|
||||
$confirmation = is_array($_SESSION['registration_confirmation'] ?? null)
|
||||
? $_SESSION['registration_confirmation']
|
||||
: null;
|
||||
|
||||
if ($confirmation === null) {
|
||||
header('Location: /auth/register/', true, 302);
|
||||
exit;
|
||||
}
|
||||
|
||||
unset($_SESSION['registration_confirmation']);
|
||||
?><!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Registrierung bestätigt</title>
|
||||
<link rel="stylesheet" href="/assets/auth/login.css">
|
||||
</head>
|
||||
<body>
|
||||
<main class="login-shell">
|
||||
<section class="login-panel">
|
||||
<div class="login-panel-top">
|
||||
<p class="login-kicker">Kusche.Berlin</p>
|
||||
<h1>Registrierung eingegangen</h1>
|
||||
<p class="login-copy">Deine Registrierung wurde erfolgreich gespeichert und als inaktiver Benutzer vorbereitet. Eine berechtigte Person prüft jetzt die Freischaltung.</p>
|
||||
</div>
|
||||
|
||||
<div class="login-notice login-notice-success">
|
||||
<strong>Bestätigung</strong>
|
||||
<p>Benutzername: <?= htmlspecialchars((string) ($confirmation['username'] ?? ''), ENT_QUOTES) ?></p>
|
||||
<p>E-Mail: <?= htmlspecialchars((string) ($confirmation['email'] ?? ''), ENT_QUOTES) ?></p>
|
||||
<p class="login-meta-inline">Vorgangs-ID: <?= htmlspecialchars((string) ($confirmation['id'] ?? ''), ENT_QUOTES) ?></p>
|
||||
</div>
|
||||
|
||||
<div class="login-actions">
|
||||
<a class="login-button login-button-primary" href="/auth/keycloak">Weiter zu Keycloak</a>
|
||||
<a class="login-button login-button-secondary" href="/auth/register/">Neue Registrierung</a>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user