Prevent password auto-complete

This commit is contained in:
cuigh 2017-12-18 14:40:28 +08:00
parent 1c45382cf4
commit 42befba54e
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ func main() {
misc.BindOptions() misc.BindOptions()
app.Name = "Swirl" app.Name = "Swirl"
app.Version = "0.6.4" app.Version = "0.6.5"
app.Desc = "A web management UI for Docker, focused on swarm cluster" app.Desc = "A web management UI for Docker, focused on swarm cluster"
app.Action = func(ctx *app.Context) { app.Action = func(ctx *app.Context) {
misc.LoadOptions() misc.LoadOptions()

View File

@ -132,7 +132,7 @@
<div class="field"> <div class="field">
<label class="label">{{ i18n("field.password") }}</label> <label class="label">{{ i18n("field.password") }}</label>
<div class="control"> <div class="control">
<input name="password" class="input" type="password" placeholder="Login password"> <input name="password" class="input" type="password" autocomplete="new-password" placeholder="Login password">
</div> </div>
</div> </div>
</section> </section>