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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. OpenProject
  3. Enable Password Reset

Enable Password Reset

Scheduled Pinned Locked Moved Solved OpenProject
3 Posts 2 Posters 827 Views 3 Watching
  • 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 Offline
    J Offline
    jagan
    wrote on last edited by jagan
    #1

    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!

    nebulonN 1 Reply Last reply
    0
    • J 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!

      nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      @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
      1
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #3

        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
        1
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search