aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/Controllers/AuthController.php
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-03-21 21:49:57 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-03-21 21:49:57 +0100
commitf60a390f5c51039fd1efc1df9a6a7f3864ce0062 (patch)
tree9ec829dd92a93a79a2047494d07c95b7c0197389 /src/app/Controllers/AuthController.php
parentbc54c8c31e7f50a7a365f9b4d22fe8c74a29f61a (diff)
downloadcamagru-f60a390f5c51039fd1efc1df9a6a7f3864ce0062.tar.gz
camagru-f60a390f5c51039fd1efc1df9a6a7f3864ce0062.zip
Add profile page for editing username, email, password, and notifications
Diffstat (limited to 'src/app/Controllers/AuthController.php')
-rw-r--r--src/app/Controllers/AuthController.php8
1 files changed, 0 insertions, 8 deletions
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';