Create auth.html

This commit is contained in:
Voxel 2025-04-15 14:55:57 -04:00 committed by GitHub
parent 41e9400939
commit 957aa30f9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

28
forum/auth.html Normal file
View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Auth - MilkNet Forum</title>
<link rel="stylesheet" href="style.css">
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
</head>
<body>
<div class="auth-container">
<h1>Login</h1>
<input type="text" id="reg-username" placeholder="Username"><br>
<input type="password" id="reg-password" placeholder="Password"><br>
<div class="cf-turnstile" data-sitekey="YOUR_SITE_KEY_HERE"></div><br>
<button onclick="register()">Register</button>
<hr>
<h2>Already registered?</h2>
<input type="text" id="login-username" placeholder="Username"><br>
<input type="password" id="login-password" placeholder="Password"><br>
<button onclick="login()">Login</button>
</div>
<script src="auth.js"></script>
</body>
</html>