all repos — honk @ 0e04aa1293610c18c869aaf6cf32b078e9cf3e63

my fork of honk

add username to account page
Ted Unangst tedu@tedunangst.com
Thu, 07 Nov 2019 17:50:29 -0500
commit

0e04aa1293610c18c869aaf6cf32b078e9cf3e63

parent

dd3ea514236b7a0d01123cc7576ac89a488b747a

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M views/account.htmlviews/account.html

@@ -2,6 +2,7 @@ {{ template "header.html" . }}

<main> <div class="info"> <p>account - <a href="/logout?CSRF={{ .LogoutCSRF }}">logout</a> +<p>username: {{ .User.Name }} <div> <form id="aboutform" action="/saveuser" method="POST"> <input type="hidden" name="CSRF" value="{{ .UserCSRF }}">