From 6dd01b2d7f0e99e9d91d6854915ea86aa5fb9d93 Mon Sep 17 00:00:00 2001
From: Lncvrt
Date: Sun, 1 Feb 2026 15:36:09 -0700
Subject: [PATCH] Add forgot username/password links and register link to login
page & fix something on reset password. Will add those pages too.
---
src/app/account/login/page.tsx | 134 ++++++++++++++----------
src/app/account/reset-password/page.tsx | 2 +-
2 files changed, 79 insertions(+), 57 deletions(-)
diff --git a/src/app/account/login/page.tsx b/src/app/account/login/page.tsx
index c8404ab..28931e7 100644
--- a/src/app/account/login/page.tsx
+++ b/src/app/account/login/page.tsx
@@ -6,6 +6,7 @@ import { Suspense, useEffect, useState } from 'react'
import { HomeButton } from '@/app/components/HomeButton'
import { DiscordButton } from '@/app/components/DiscordButton'
import axios from 'axios'
+import Link from 'next/link'
function LoginForm ({ redirect }: { redirect: string | null }) {
const [loading, setLoading] = useState(true)
@@ -31,65 +32,86 @@ function LoginForm ({ redirect }: { redirect: string | null }) {
{loading ? 'Loading...' : 'Lncvrt Games Login'}
{!loading && (
-
+ }}
+ >
+ setUsername(e.target.value)}
+ required
+ />
+ setPassword(e.target.value)}
+ required
+ />
+
+
+
+
+ Forgot username?
+
+
+ Forgot password?
+
+
+ Don't have an account?
+
+
+ >
)}
)
diff --git a/src/app/account/reset-password/page.tsx b/src/app/account/reset-password/page.tsx
index 09b6e7e..85b9883 100644
--- a/src/app/account/reset-password/page.tsx
+++ b/src/app/account/reset-password/page.tsx
@@ -110,7 +110,7 @@ function ResetPasswordForm ({ codeParam }: { codeParam: string }) {
)}
{result == 2 && (
-
+
)}