Bo Nix better win the damn super bowl dude he gives me anxiety every time I watch him
This commit is contained in:
13
templates/tpl_change_password.html
Normal file
13
templates/tpl_change_password.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<h1 class="text-xl font-bold mb-3">Change Password</h1>
|
||||
<div class="rounded-2xl border border-slate-800 bg-slate-900/60 p-4 max-w-md">
|
||||
<form method="post" class="grid gap-3">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||
<input name="current_password" type="password" placeholder="Current password" required autocomplete="current-password" class="px-3 py-2 rounded-lg bg-slate-950 border border-slate-700">
|
||||
<input name="new_password" type="password" placeholder="New password (min 10 chars)" required autocomplete="new-password" class="px-3 py-2 rounded-lg bg-slate-950 border border-slate-700">
|
||||
<input name="confirm_password" type="password" placeholder="Confirm new password" required autocomplete="new-password" class="px-3 py-2 rounded-lg bg-slate-950 border border-slate-700">
|
||||
<button class="px-4 py-2 rounded-lg bg-brand-600 hover:bg-brand-700 font-semibold" type="submit">Update</button>
|
||||
</form>
|
||||
{% if user.must_change_password %}
|
||||
<p class="text-xs text-slate-400 mt-2">You must set a new password before continuing.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user