Open link in a new tab

Content

Expand project menu

LDAP Authentication settings/Reactivating default admin account

How can I edit LDAP Authentication settings from the cli? Our LDAP server was recently moved and I can no longer sign in to OpenProject to update the configuration.

Message actions

I had to reactivate the OpenProject Administrator account with the following commands:

  • sudo openproject run rails console
admin = User.where(firstname: "OpenProject").first
admin.password = admin.password_confirmation = "<a password>"
admin.Save(validate:false)

Source: stack overflow