]> www.vanbest.org Git - motioneye-debian/commit
fix undesired password change
authorCalin Crisan <ccrisan@gmail.com>
Sat, 2 Jun 2018 13:00:38 +0000 (16:00 +0300)
committerCalin Crisan <ccrisan@gmail.com>
Sat, 2 Jun 2018 13:00:38 +0000 (16:00 +0300)
commit818cd284ff7d6139618cf7dd21237c1417da3790
tree20a9038792c67712d91bd92f984838684ea3df87
parent721f833560fe7d92ab5798041f3d97fc3cf9a0c2
fix undesired password change

For some reason, browsers may trigger a change event on password input
elements when form autocompletion is active. To overcome this, we now
need both a change event and a keydown event before considering password
actually changed.

In addition to this, we will simply reject any password change to *****,
 as a protection.
motioneye/static/js/main.js