Updated account
This commit is contained in:
parent
c7d9b24aa6
commit
587babb869
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue