Skip to content

Instantly share code, notes, and snippets.

@pavank
Created March 16, 2021 10:18
Show Gist options
  • Save pavank/9490c6c392febfe61e89845bb79cc894 to your computer and use it in GitHub Desktop.
Save pavank/9490c6c392febfe61e89845bb79cc894 to your computer and use it in GitHub Desktop.
# Ref - https://superuser.com/questions/573602/chrome-not-saving-passwords-and-not-auto-filling-existing-login-passwords/1325741#1325741
"""
If the settings to store passwords are enabled, but it still doesn't work, removing the password database might help.
Here are steps:
Quit Chrome.
Go to the directory where Chrome stores its user-specific data, below your user home directory:
Mac: ~/Library/Application Support/Google/Chrome
Linux: ~/.config/google-chrome. Note that Chromium snap (default on Ubuntu 20.10 and earlier) is at ~/snap/chromium/common/chromium/Default/ however
Windows: %UserProfile%\AppData\Local\Google\Chrome\User Data
From there, go into the directory called Default if you want to fix your main profile, or into Profile 1 or Profile 2, etc., to fix one of your extra profiles.
Delete the files "Login Data" and "Login Data-journal".
Repeat for other profiles as necessary.
Thanks to http://plasmasturm.org/log/chromepwstore/ for this successful fix.
update:
This solution still works in 2019 and on kubuntu 18.04. Many comments below indicate other versions where it worked.
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment