Disable browser password saving in the runtime. Fixes #6473

This commit is contained in:
Dave Page 2021-06-11 15:10:30 +01:00
parent e0d094b2aa
commit 4a3a5174b2
2 changed files with 12 additions and 0 deletions

View File

@ -32,6 +32,7 @@ Bug fixes
| `Issue #4203 <https://redmine.postgresql.org/issues/4203>`_ - Fixed the issue of renaming the database by another user.
| `Issue #6404 <https://redmine.postgresql.org/issues/6404>`_ - Ensure that the Query Tool connection string should not be changed as per the 'Query Tool tab title'.
| `Issue #6466 <https://redmine.postgresql.org/issues/6466>`_ - Ensure that the user should be able to add members in Login/Role group while creating it.
| `Issue #6473 <https://redmine.postgresql.org/issues/6473>`_ - Disable browser password saving in the runtime.
| `Issue #6478 <https://redmine.postgresql.org/issues/6478>`_ - Fixed duplicate SQL issue for tables with more than one partition.
| `Issue #6482 <https://redmine.postgresql.org/issues/6482>`_ - Fixed an issue where the Foreground Color property of server dialog does not work.
| `Issue #6513 <https://redmine.postgresql.org/issues/6513>`_ - Fixed an issue where pgAdmin does not open after password reset in server mode.

View File

@ -28,6 +28,17 @@
margin-bottom: 10px;
}
</style>
<!-- Disable/block all password saving in nw.js -->
<script type="text/javascript">
chrome.passwordsPrivate.getSavedPasswordList(function(passwords) {
passwords.forEach((p, i) => {
chrome.passwordsPrivate.removeSavedPassword(i);
});
});
chrome.privacy.services.passwordSavingEnabled.set({ value: false });
</script>
<script type="text/javascript">
let platform = require("os").platform;
</script>