Resetting the Master Password in Firefox:
Open Firefox and paste the following line into the address bar:
A text will appear saying that if you reset your master password all login details including usernames, passwords and websites will be lost. If you click on Reset the master password is reset which means that you can enter a new one. Cancel would be the other option.