Enable Password Reset
-
Hi, I wish to enable password reset by the users (by default the feature seems disabled).
I found that this function can be enabled by running the following commands in the Rails Console:
RAILS_ENV=production bundle exec rails c
Setting.lost_password="1"However, I have no idea how to do it. Can somebody please shed some light?
Or is there some other setting in the administrative area or easier way I am overlooking?
Lots of thanks in advance! -
@jagan by default the app would be installed to use the Cloudron user directory. If this is the case, then a user will not be able to change the openproject password within openproject.
However we do set this apparently always, so I will prepare a new package update which will only explicitly set it for the Cloudron user directory case.Once the new package is out, existing installations can use the webterminal into the app and run the following command
psql -h ${CLOUDRON_POSTGRESQL_HOST} -p ${CLOUDRON_POSTGRESQL_PORT} -U ${CLOUDRON_POSTGRESQL_USERNAME} -d ${CLOUDRON_POSTGRESQL_DATABASE} -c "UPDATE settings SET value=1 WHERE name='lost_password';"
then restart the app.