diff options
author | Thomas Lange <code@nerdmind.de> | 2021-07-28 14:43:47 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-07-28 14:43:47 +0200 |
commit | 1017a99e81d0445a8614917a1798bbd02d88d14e (patch) | |
tree | e38c8be0d576c5508fe0828456e2967aaea088fa /theme/admin/html/auth.php | |
parent | c6ca335253153f2c48da1474712f82ea31526d10 (diff) | |
download | blog-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.php | 4 |
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> |