SP17-item02: workflow for resetting password (optional)
This is the workflow discussed by team:
scenario 1: simple user forgot its password: he can either click on forgot password
or reset password through admin
account. In either ways, a temporary password is sent to user email address (optional step, we will need an email handler, and an option in CLI to enable/disable such function), and database is updated with this new temporary password
scenario 2: admin forgot its password: he can do like simple user
,provided other another admin exists in database. Otherwise, he can run a CLI to reset default admin account, created when launching database for the first time (whose credentials are stored in the config file in plain text). Admin should change its password
Edited by BOUILLARD Yannick