chore(webui): rewrite the web session code again while preparing for csrf tokens
#60
This commit is contained in:
parent
3bb5e735c6
commit
895615ad6e
20 changed files with 162 additions and 149 deletions
|
@ -7,7 +7,7 @@
|
|||
Use this page to inspect user accounts.
|
||||
</p>
|
||||
</div>
|
||||
{{ if .Page.IsAdmin }}
|
||||
{{ if .Page.Session.Data.Account.IsAdmin }}
|
||||
<form action="/accounts" enctype="multipart/form-data" method="post">
|
||||
<fieldset>
|
||||
<legend>New User Account</legend>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue