add username to account page
This commit is contained in:
parent
8385ecdf13
commit
dc71a3afb2
|
@ -2,6 +2,7 @@
|
||||||
<main>
|
<main>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<p>account - <a href="/logout?CSRF={{ .LogoutCSRF }}">logout</a>
|
<p>account - <a href="/logout?CSRF={{ .LogoutCSRF }}">logout</a>
|
||||||
|
<p>username: {{ .User.Name }}
|
||||||
<div>
|
<div>
|
||||||
<form id="aboutform" action="/saveuser" method="POST">
|
<form id="aboutform" action="/saveuser" method="POST">
|
||||||
<input type="hidden" name="CSRF" value="{{ .UserCSRF }}">
|
<input type="hidden" name="CSRF" value="{{ .UserCSRF }}">
|
||||||
|
|
Loading…
Reference in New Issue