aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/auth.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-28 14:43:47 +0200
committerThomas Lange <code@nerdmind.de>2021-07-28 14:43:47 +0200
commit1017a99e81d0445a8614917a1798bbd02d88d14e (patch)
treee38c8be0d576c5508fe0828456e2967aaea088fa /theme/admin/html/auth.php
parentc6ca335253153f2c48da1474712f82ea31526d10 (diff)
downloadblog-1017a99e81d0445a8614917a1798bbd02d88d14e.tar.gz
blog-1017a99e81d0445a8614917a1798bbd02d88d14e.tar.xz
blog-1017a99e81d0445a8614917a1798bbd02d88d14e.zip
Add "required" attribute to required form fields
Diffstat (limited to 'theme/admin/html/auth.php')
-rw-r--r--theme/admin/html/auth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/theme/admin/html/auth.php b/theme/admin/html/auth.php
index cff8612..efc402e 100644
--- a/theme/admin/html/auth.php
+++ b/theme/admin/html/auth.php
@@ -20,14 +20,14 @@
<i class="fa fa-user-secret"></i><?=$Language->text('label_username')?></label>
<div class="form-grid-item">
- <input id="form_username" name="username" value="<?=escapeHTML($FORM['DATA']['USERNAME'])?>" autofocus />
+ <input id="form_username" name="username" value="<?=escapeHTML($FORM['DATA']['USERNAME'])?>" required autofocus />
</div>
<label for="form_password">
<i class="fa fa-key"></i><?=$Language->text('label_password')?></label>
<div class="form-grid-item">
- <input type="password" id="form_password" name="password" />
+ <input type="password" id="form_password" name="password" required />
</div>
</div>