pages/forum/auth.html
2025-04-15 15:00:14 -04:00

28 lines
945 B
HTML

<!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="0x4AAAAAABL-mVGZhgs_SDwZ"></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>