Updated account

This commit is contained in:
Tracker-Friendly 2023-11-20 18:05:54 +00:00
parent c7d9b24aa6
commit 587babb869
2 changed files with 5 additions and 4 deletions

View File

@ -13,11 +13,12 @@
<div class="content">
<h1>Change your password</h1>
<br>
<form method="POST" action="/account/passwordapi">
<input type="hidden" name="email" value="{{ user_email }}">
<form method="POST" action="/account/changeapi">
<input type="hidden" name="email" style="display: inline;" value="{{ user_email }}">
<input type="hidden" name="passwordhash" value="{{ password_hash }}">
<input name="password">
<button onclick="location.href = '/account';">Cancel</button>
<input type="submit" value="Confirm">
<button onclick="location.href = '/account';">Cancel</button>
</div>
<style type="text/css"></style>
</body></html>

View File

@ -14,10 +14,10 @@
<h1>Account management</h1>
<p1>{{ user_email }}</p1>
<br>
<br>
<button onclick="location.href = '/account/changepass';">Change Password</button>
<button onclick="location.href = '/account/deleteacct';">Delete Account</button>
<br>
<br>
<button onclick="location.href = '/account/logout';">Logout</button>
</div>
<style type="text/css"></style>