diff options
author | GrailFinder <wohilas@gmail.com> | 2024-04-28 07:03:36 +0300 |
---|---|---|
committer | GrailFinder <wohilas@gmail.com> | 2024-04-28 07:03:36 +0300 |
commit | 8d66ec58e2256412a2fd50ad9e651c09af1ea8cc (patch) | |
tree | 23ad5c78ba2b2da32628e9004fe932e6fa63e26b /components/index.html | |
parent | b33be53ea9c0be523988a9412fd8e3f6a24782b3 (diff) |
Feat: auth middleware; login [wip]
Diffstat (limited to 'components/index.html')
-rw-r--r-- | components/index.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/components/index.html b/components/index.html index b3da4ea..3693a56 100644 --- a/components/index.html +++ b/components/index.html @@ -10,13 +10,18 @@ </head> <body> <div id="ancestor"> - <hr /> + {{ if not . }} + <div> + {{ template "auth" }} + </div> + {{ else }} <div> {{ template "UserScore" . }} </div> <div> {{ template "showformbtn" }} </div> + {{ end }} </div> </body> </html> |