I were wondering why Password Maker was generating a wrong password. It turned out that when you create a profile (an account) it sets "Use Text" field to account's name by default. And if you don't clear it, it will be used as an input text for generating the password.
generatePassword function calls getModifiedInputText function. The latter ignores inputText parameter if account's url field is set and uses its value as the input text.
I were wondering why Password Maker was generating a wrong password. It turned out that when you create a profile (an account) it sets "Use Text" field to account's name by default. And if you don't clear it, it will be used as an input text for generating the password.
generatePassword function calls getModifiedInputText function. The latter ignores inputText parameter if account's url field is set and uses its value as the input text.