为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Lost Logins and Passwords

  • 13 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 FredMcD

more options

I was logged out of my Firefox account in my browser. When I logged in, I can't find the saved logins and passwords. Is there a way for me to recover them?

I was logged out of my Firefox account in my browser. When I logged in, I can't find the saved logins and passwords. Is there a way for me to recover them?

所有回复 (13)

more options

Are you talking about the browser, or sync?

Do you know how the data was lost?


Just to be sure; Type about:preferences#security<enter> in the address box. Look under Logins,

Note: For Firefox v56+ its; about:preferences#privacy Look under Forms & Passwords Or type about:logins<enter> in the address box. +++++++++++++++++++++++++++++++ Turn on Remember Logins. To check the passwords you have listed, press Saved Logins.

Press the Exceptions button and see what's inside.

https://support.mozilla.org/en-US/kb/password-manager-remember-delete-edit-logins

more options

If the above does not help; Firefox 80+ has a logins-backup.json file in the profile folder that can be used in case of issues with logins.json or to undo an accidental delete of a login, so you can check if you can find this file in the profile folder or in a backup and replace the current logins.json. Make sure to keep a backup copy of all involved files (logins.json and key4.db and logins-backup.json)

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

Help -> More Troubleshooting Information -> Profile Folder/Directory: Windows: Open Folder; Linux: Open Directory; Mac: Show in Finder https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

If you use a Primary Password then you can prevent losing passwords by canceling the PP prompt. You need to logout beforehand by canceling a PP prompt, e.g. by clicking the eye icon in Lockwise (about:logins).

Also see; https://support.mozilla.org/en-US/kb/recover-user-data-missing-after-firefox-update

more options

You didn't change the password for the Sync account as that whould have wiped all data stored on the Sync server ?

If you use the Time Machine or other backup then try to restore file(s) from this backup.

Location used for the main profile that keeps your personal data (Root Directory on about:profiles).

  • ~/Library/Application Support/Firefox/Profiles/<profile>
more options

Hello! Thank you for all the replies. Really helpful.

What happened was I updated my OS and deleted files in the application support folder. I was wondering if there's a onilne copy of my Firefox account.

I also noticed in my account that I'm still logged in in the previous name of my macbook.

Thank you so much!

more options

Hi Johnpaolo, Yes, your Firefox user data is kept within the Application Support folder, so deleting that folder would have deleted your locally stored passwords (and other user data). Were you using the Firefox Sync feature? If so, just sign in to your account and everything will be synced from the server, including passwords.

more options

Hi, Chris!

I was signed in before I updated my OS. Maybe I was not using Firefox Sync which is why when I signed in again, my passwords did not appear. I shouldn't have deleted my files in the application support folder. :(

more options

Do you have a Time Machine back up?

more options

I don't. :(

more options

You can install the About Sync extension in Firefox 72 and newer on desktop to check what data is stored on the Sync server via the about:sync page provided by this extension.

Close and restart Firefox to access the about:sync page added by this extension (see the about:about page for possible about pages).

more options

Thank you everyone for all the help! I learned a lot and will be more careful next time by backing up Application Support files and syncing regularly.

more options

Back up and restore information in Firefox profiles {web link} I use a Legacy add-on that makes backups of my user profile, Just In Case. Unfortunately, it is not compatible with the current Firefox.

Every now and then, open the profile folder and create a copy of the current profile as is to another location on your hard drive. This way you will have a backup.

If you do this each day, you will not lose much data. This should be done with Firefox Closed.

Note: In case you need to restore from these backups, you may need to overwrite old or corrupted files.

more options

Thank you for this! I'll do this next time.

What is interesting is that I lost nothing in my bookmarks.

Again, thank you!

more options

In Firefox, different information/data is stored in different files.