add username to account page

This commit is contained in:
Ted Unangst 2019-11-07 17:50:29 -05:00
parent 8385ecdf13
commit dc71a3afb2
1 changed files with 1 additions and 0 deletions

View File

@ -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 }}">