diff options
| author | Andrew Lee <andrew@alee14.me> | 2024-12-24 17:03:01 -0500 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2024-12-24 17:03:01 -0500 |
| commit | 12669097d86af780fdf4bec629aa81ba15b7c116 (patch) | |
| tree | 0818ee433f1dc6fc1b7ee954c6565c1d74d483a1 /views | |
| parent | 70f071180c932e9cf5029b47ec5e0d1e2623b4b4 (diff) | |
| download | freeso-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')
| -rw-r--r-- | views/dashboard.ejs | 4 | ||||
| -rw-r--r-- | views/index.ejs | 2 | ||||
| -rw-r--r-- | views/password.ejs | 4 | ||||
| -rw-r--r-- | views/register.ejs | 11 | ||||
| -rw-r--r-- | views/success.ejs | 1 |
5 files changed, 9 insertions, 13 deletions
diff --git a/views/dashboard.ejs b/views/dashboard.ejs index b50f0e0..1c7996b 100644 --- a/views/dashboard.ejs +++ b/views/dashboard.ejs @@ -10,8 +10,8 @@ <div class="background"></div> <div class="container"> <img src="img/logo.png" alt="logo" width="200"> - <p>Welcome, <%= username %>!</p> - <p>FreeSO Username:</p> + <h1>Welcome, <%= username %>!</h1> + <h2>FreeSO Username: <%= fso_username %></h2> <a href="#" class="button">Change Password</a> <a href="#" class="button">Download bnbSO Client</a> <a href="/logout" class="button logout">Logout</a> diff --git a/views/index.ejs b/views/index.ejs index dc893d4..e786bd3 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -11,7 +11,7 @@ <div class="container"> <img src="img/logo.png" alt="logo" width="200"> <p>Log into your Discord account to get access to bnbSO.</p> - <p><i>You must be a bits & Bytes member to join.</i></p> + <p><i>You must be a bits & Bytes member.</i></p> <a class="button discord" href="/auth/discord">Login with Discord</a> </div> </body> diff --git a/views/password.ejs b/views/password.ejs index 2e24399..f66b60b 100644 --- a/views/password.ejs +++ b/views/password.ejs @@ -10,7 +10,8 @@ <div class="background"></div> <div class="container"> <img src="img/logo.png" alt="logo" width="200"> - <h1>Login</h1> + <h1>Change Password</h1> + <p>If you have issues changing your password, ask the server operator to change your password.</p> <form method="post" action="/login"> <label for="username">Username:</label> <input type="text" id="username" name="username"> @@ -18,7 +19,6 @@ <input type="password" id="password" name="password"> <button type="submit">Login</button> </form> - <a href="#">Forgot Password</a> <% if (typeof error !== 'undefined') { %> <div class="error"><%= error %></div> <% } %> 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') { %> diff --git a/views/success.ejs b/views/success.ejs index 224b260..2ec9771 100644 --- a/views/success.ejs +++ b/views/success.ejs @@ -11,7 +11,6 @@ <div class="container"> <img src="img/logo.png" alt="logo" width="200"> <p>Created account successfully!</p> - <p>Check on your inbox for the confirmation code.</p> <a href="/">Dashboard</a> </div> </body> |
