Skip to content

Commit 92f1f5b

Browse files
author
Datanoise
committed
fix: prevent password manager autofill on AutoDJ fields
1 parent 393ac24 commit 92f1f5b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

server/templates/admin.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,10 @@ <h2>Provision AutoDJ</h2>
381381
<label for="adj-mpd" style="margin-bottom: 0;">Expose MPD</label>
382382
</div>
383383
<div class="form-group" style="margin-bottom: 0;">
384-
<input type="text" name="mpd_port" placeholder="Port (e.g. 6600)" style="padding: 0.4rem;">
384+
<input type="text" name="mpd_port" placeholder="Port (e.g. 6600)" style="padding: 0.4rem;" autocomplete="off">
385385
</div>
386386
<div class="form-group" style="margin-bottom: 0;">
387-
<input type="password" name="mpd_password" placeholder="Password (Optional)" style="padding: 0.4rem;">
387+
<input type="password" name="mpd_password" placeholder="Password (Optional)" style="padding: 0.4rem;" autocomplete="new-password">
388388
</div>
389389
</div>
390390
<button type="submit" class="btn btn-primary" style="width: 100%; margin-top: 1.5rem;">Create AutoDJ</button>
@@ -686,10 +686,10 @@ <h2>Edit AutoDJ</h2>
686686
<label for="edit-mpd" style="margin-bottom: 0;">Expose MPD</label>
687687
</div>
688688
<div class="form-group" style="margin-bottom: 0;">
689-
<input type="text" name="mpd_port" id="edit-mpd-port" placeholder="Port (e.g. 6600)" style="padding: 0.4rem;">
689+
<input type="text" name="mpd_port" id="edit-mpd-port" placeholder="Port (e.g. 6600)" style="padding: 0.4rem;" autocomplete="off">
690690
</div>
691691
<div class="form-group" style="margin-bottom: 0;">
692-
<input type="password" name="mpd_password" id="edit-mpd-password" placeholder="Password (Optional)" style="padding: 0.4rem;">
692+
<input type="password" name="mpd_password" id="edit-mpd-password" placeholder="Password (Optional)" style="padding: 0.4rem;" autocomplete="new-password">
693693
</div>
694694
</div>
695695
<div style="display: flex; gap: 1rem; margin-top: 2rem;">

tinyice.pid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
36261
1+
36403

0 commit comments

Comments
 (0)