summaryrefslogtreecommitdiff
path: root/src/web/views/login.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/views/login.php')
-rw-r--r--src/web/views/login.php39
1 files changed, 25 insertions, 14 deletions
diff --git a/src/web/views/login.php b/src/web/views/login.php
index 98d69af..ca38066 100644
--- a/src/web/views/login.php
+++ b/src/web/views/login.php
@@ -1,22 +1,33 @@
<?php /* Copyright (c) 2024 Freya Murphy */ ?>
-<form method="post">
-<label for="username">Username</label>
-<input
- type="text"
- id="username"
- name="username"
- autofocus="true"
->
-<label fot="password">Password</label>
-<input
- type="password"
- id="password"
- name="password"
->
+<form method="post" autocomplete="off">
+<div>
+ <input
+ type="text"
+ id="username"
+ name="username"
+ autofocus="true"
+ autocomplete="off"
+ placeholder=" ">
+ <label for="username">Username</label>
+</div>
+<div>
+ <input
+ type="password"
+ id="password"
+ name="password"
+ autocomplete="off"
+ placeholder=" ">
+ <label fot="password">Password</label>
+</div>
<input
type="submit"
role="button"
id="submit"
value="Sign In"
+ class="btn"
>
+<input
+ type="hidden"
+ name="redirect"
+ value="<?=maybe_base64_encode(esc($redirect))?>">
<form>