Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Enable Password Reset

    OpenProject
    2
    3
    181
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jagan last edited by jagan

      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!

      nebulon 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff @jagan last edited by

        @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.

        1 Reply Last reply Reply Quote 1
        • nebulon
          nebulon Staff last edited by

          This is now fixed with latest app package. Existing installations still have to disable it with the previously mentioned psql commandline.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Powered by NodeBB