summary refs log tree commit diff
path: root/assets
diff options
context:
space:
mode:
authorMelonai <einebeere@gmail.com>2021-07-26 23:50:43 +0200
committerMelonai <einebeere@gmail.com>2021-07-26 23:50:43 +0200
commit175da8f22cd791e81338fe61e6099125868cf5a0 (patch)
tree91a234d8aafd54be34aae5ff5b948b34e52fb020 /assets
parent83a8214119eccb39f4c38e7b1ae54daebdeb0184 (diff)
downloadportgate-175da8f22cd791e81338fe61e6099125868cf5a0.tar.zst
portgate-175da8f22cd791e81338fe61e6099125868cf5a0.zip
Basic Authentication and Authorization
Diffstat (limited to 'assets')
-rw-r--r--assets/templates/authenticate.template.html8
-rw-r--r--assets/templates/information.template.html2
2 files changed, 8 insertions, 2 deletions
diff --git a/assets/templates/authenticate.template.html b/assets/templates/authenticate.template.html
index 21f31e4..7d6d72c 100644
--- a/assets/templates/authenticate.template.html
+++ b/assets/templates/authenticate.template.html
@@ -1,3 +1,9 @@
 {{define "content"}}
-<h1>This is the authentication page...</h1>
+<h1>Authentication</h1>
+<form method="POST">
+    <label>
+        <input type="text" name="key">
+    </label>
+    <input type="submit" value="Authenticate">
+</form>
 {{end}}
\ No newline at end of file
diff --git a/assets/templates/information.template.html b/assets/templates/information.template.html
index e87885c..a881cf8 100644
--- a/assets/templates/information.template.html
+++ b/assets/templates/information.template.html
@@ -1,3 +1,3 @@
 {{define "content"}}
-<h1>This is the information page...</h1>
+<h1>You are authenticated!</h1>
 {{end}}
\ No newline at end of file