This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<%- include('../partials/header') %>
|
||||
|
||||
<div class="container-narrow">
|
||||
<div class="card">
|
||||
<h1 style="text-align: center; margin-bottom: 0.5rem;">Reset Password</h1>
|
||||
<p style="text-align: center; color: var(--muted); margin-bottom: 1.5rem;">Choose a new password for <strong><%= username %></strong></p>
|
||||
|
||||
<% if (error) { %>
|
||||
<div class="alert alert-danger"><%= error %></div>
|
||||
<% } %>
|
||||
|
||||
<form method="POST" action="/auth/reset/<%= token %>">
|
||||
<div class="form-group">
|
||||
<label for="password">New Password</label>
|
||||
<input type="password" id="password" name="password" class="form-control" required
|
||||
minlength="6" autocomplete="new-password" autofocus>
|
||||
<span class="form-hint">Minimum 6 characters</span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password_confirm">Confirm Password</label>
|
||||
<input type="password" id="password_confirm" name="password_confirm" class="form-control" required
|
||||
minlength="6" autocomplete="new-password">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary" style="width: 100%;">Set New Password</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%- include('../partials/footer') %>
|
||||
Reference in New Issue
Block a user