Enable password remembering in user login
There is a "Remember username and password" option in the code, which can be enabled by defining SAVE_PASSWORD
, but it can not co-exist with "Remember username" together.
This MR does followings:
- A new
remember_password
option is implemented to only save the password remembering status (just as theremember
option which save the status of username remembering). - Password is recorded in the 'password' option in config.xml
- Remove
SAVE_PASSWORD
condition (which is unused) in original code - Re-design the checkbox for username and password remembering in the login window.
(Since the checkbox texts are changed, the .po files will be updated in separate merge request in future.)
This modification has been tested on a master build.