authorization enforced on webpages
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<h1>Home</h1>
|
||||
|
||||
{{- if and .UserID (not .Account.ID) }}
|
||||
{{- if and .Identity.User.UserID (not .Identity.Account) }}
|
||||
<h2><a href="/account-creation">New Account</a></h2>
|
||||
{{- end }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user