aboutsummaryrefslogtreecommitdiff
path: root/views/register.ejs
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2024-12-24 17:03:01 -0500
committerAndrew Lee <andrew@alee14.me>2024-12-24 17:03:01 -0500
commit12669097d86af780fdf4bec629aa81ba15b7c116 (patch)
tree0818ee433f1dc6fc1b7ee954c6565c1d74d483a1 /views/register.ejs
parent70f071180c932e9cf5029b47ec5e0d1e2623b4b4 (diff)
downloadfreeso-discord-auth-12669097d86af780fdf4bec629aa81ba15b7c116.tar.gz
freeso-discord-auth-12669097d86af780fdf4bec629aa81ba15b7c116.tar.bz2
freeso-discord-auth-12669097d86af780fdf4bec629aa81ba15b7c116.zip
No longer using email, using discord usernames as email, check if discord id exists in db
Diffstat (limited to 'views/register.ejs')
-rw-r--r--views/register.ejs11
1 files changed, 4 insertions, 7 deletions
diff --git a/views/register.ejs b/views/register.ejs
index 66058c3..f417f82 100644
--- a/views/register.ejs
+++ b/views/register.ejs
@@ -12,17 +12,14 @@
<img src="img/logo.png" alt="logo" width="200">
<h1>Welcome to bnbSO!</h1>
<p>You will be sending the following information to register your bnbSO account</p>
- <p>Please verify that the following information is correct. You can only change this <b>once</b>.</p>
- <p>Note: You can change your username and email if you want to change it.<br>It is there as your Discord account are using these credentials.</p>
+ <p>Please verify that the following information is correct. You can only change your username <b>once</b>.</p>
<form method="post" action="/register">
<label for="username">Username:</label>
- <input type="text" id="username" name="username" value="<%= username %>">
- <label for="email">Email:</label>
- <input type="email" id="email" name="email" value="<%= email %>">
+ <input type="text" id="username" name="username">
<label for="password">Password:</label>
<input type="password" id="password" name="password">
- <label for="password2">Confirm Password:</label>
- <input type="password" id="password2" name="password2">
+ <label for="passwordconfirm">Confirm Password:</label>
+ <input type="password" id="passwordconfirm" name="passwordconfirm">
<button type="submit">Register</button>
</form>
<% if (typeof error !== 'undefined') { %>