Skip to content

Commit

Permalink
#215 add: prevent common password managers to fill out admin form
Browse files Browse the repository at this point in the history
Signed-off-by: Patrizio Bekerle <[email protected]>
  • Loading branch information
pbek committed Aug 8, 2024
1 parent f16d622 commit 94fde25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# WebAppPassword Change Log

## 24.8.0
- Prevent common password managers to fill out admin form
(for [#215](https://github.com/digital-blueprint/webapppassword/issues/215))
- Updated dependencies

## 24.6.0
Expand Down
3 changes: 3 additions & 0 deletions templates/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
id="webapppassword-origins"
name="webapppassword-origins"
placeholder="https://example.com,https://example2.com"
autocomplete="off" data-1p-ignore data-bwignore data-lpignore="true" data-form-type="other"
value="<?php p($_['origins']); ?>">
</p>
</div>
Expand All @@ -38,6 +39,7 @@
id="files-sharing-webapppassword-origins"
name="files-sharing-webapppassword-origins"
placeholder="https://example.com,https://example2.com"
autocomplete="off" data-1p-ignore data-bwignore data-lpignore="true" data-form-type="other"
value="<?php p($_['files_sharing_origins']); ?>">
</p>
<p>
Expand All @@ -64,6 +66,7 @@
id="preview-webapppassword-origins"
name="preview-webapppassword-origins"
placeholder="https://example.com,https://example2.com"
autocomplete="off" data-1p-ignore data-bwignore data-lpignore="true" data-form-type="other"
value="<?php p($_['preview_origins']); ?>">
</p>
<p>
Expand Down

0 comments on commit 94fde25

Please sign in to comment.