Skip to content

Commit

Permalink
Provide fake username on login form
Browse files Browse the repository at this point in the history
Signed-off-by: Christian König <[email protected]>
  • Loading branch information
yubiuser committed Nov 12, 2022
1 parent 18494ed commit 4233071
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions login.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
<form action="" id="loginform" method="post">
<div class="form-group login-options has-feedback<?php if ($wrongpassword) { ?> has-error<?php } ?>">
<div class="pwd-field">
<!-- hidden username input field to help password managers to autfill the password -->
<input type="text" id="username" value="pi.hole" hidden>
<input type="password" id="loginpw" name="pw" class="form-control" placeholder="Password" spellcheck="false" autocomplete="current-password" autofocus>
<span class="fa fa-key form-control-feedback"></span>
</div>
Expand Down

0 comments on commit 4233071

Please sign in to comment.