Hi again Horfic,
I made some modifications on your addon (only the part of change password) just for my needs, new features are:
- utf8 compatible passwords
- restrictions on the password (max lenght, min lenght, min digits on in min lowercase letters on it and min uppercase letters)
- requests ajaxized
- alert messages like roundcube messages
If you want you can update your code with mine, the changes are in app.js, passwd.inc, and messages.inc (en_US), all this is in changes.tar.gz and the changes for the spanish messages.inc is in changes_lang_es_ES.tar.gz
In changes.tar.gz i added the complete changes and a patch ready files(*.diff), you can use or the diff patches or the complete source files.
The config of the restrictions password is made in passwd.inc, changing the top "define"