From f60a390f5c51039fd1efc1df9a6a7f3864ce0062 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Sat, 21 Mar 2026 21:49:57 +0100 Subject: Add profile page for editing username, email, password, and notifications --- src/app/Controllers/AuthController.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/app/Controllers/AuthController.php') diff --git a/src/app/Controllers/AuthController.php b/src/app/Controllers/AuthController.php index ae94295..aad40be 100644 --- a/src/app/Controllers/AuthController.php +++ b/src/app/Controllers/AuthController.php @@ -19,8 +19,6 @@ class AuthController $this->user = new User(); } - // ── Registration ── - public function registerForm(): void { $content = __DIR__ . '/../Views/auth/register.php'; @@ -79,8 +77,6 @@ class AuthController header('Location: /login'); } - // ── Email verification ── - public function verify(): void { $token = $_GET['token'] ?? ''; @@ -97,8 +93,6 @@ class AuthController header('Location: /login'); } - // ── Login / Logout ── - public function loginForm(): void { $content = __DIR__ . '/../Views/auth/login.php'; @@ -146,8 +140,6 @@ class AuthController header('Location: /'); } - // ── Password reset ── - public function forgotPasswordForm(): void { $content = __DIR__ . '/../Views/auth/forgot-password.php'; -- cgit v1.2.3