I just found a weird bug (reproductible on the demo).
Steps to reproduce it:
Create a password (specifying account and username for example)
Click to edit the password, you can see the "last changed on" value in red, everything is normal
Add an url or a comment and click on save
Click again to edit the password, the value is not visible
Screenshots:
Solution:
In the plugin showPasswordAge.js, in account["other"], there is no edititempasswordlastchanged.
If we take a look at where/when is edititempasswordlastchanged setted. It is in main.js.
We set it when we create a password (as it should). The problem comes from $("#editbtn").click(function(). When we change the password, the date is modified, otherwise forgotten.
Solution: do not forget the information.
I just found a weird bug (reproductible on the demo).
Steps to reproduce it:
Screenshots:
Solution: In the plugin
showPasswordAge.js
, inaccount["other"]
, there is noedititempasswordlastchanged
. If we take a look at where/when isedititempasswordlastchanged
setted. It is inmain.js
. We set it when we create a password (as it should). The problem comes from$("#editbtn").click(function()
. When we change the password, the date is modified, otherwise forgotten. Solution: do not forget the information.