mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-09 19:20:09 +01:00
add password-reset flow: request endpoint + reset page + login link (shared OneTimeToken)
This commit is contained in:
1 parent
d7184e4447
commit
ddae5d8fef
7 files changed
+269
-10
No files matched your search
@@ -21,6 +21,10 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
$error = 'Mot de passe incorrect.';
|
||||
}
|
||||
|
||||
// Ensure a CSRF token exists for the reset-password form on this page.
|
||||
require_once APP_ROOT . '/src/App.php';
|
||||
App::boot();
|
||||
|
||||
$pageTitle = 'Connexion';
|
||||
$isAdmin = true; $isLogin = true; $bodyClass = 'admin-body';
|
||||
require_once APP_ROOT . '/templates/head.php';
|
||||
|
||||
Reference in new issue
Block a user