mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Disable browser password saving in the runtime. Fixes #6473
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user