OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Add internal login route to documentation
Oliver Günther5dae3b812283
diff --git a/docs/installation-and-operations/configuration/README.md b/docs/installation-and-operations/configuration/README.mdindex 56507d54d39..aadad3bc392 100644--- a/docs/installation-and-operations/configuration/README.md+++ b/docs/installation-and-operations/configuration/README.md@@ -261,6 +261,9 @@ Per default the user may choose the usual password login as well as <u>several</If this option is active, a login will lead directly to the configured omniauth provider and so will a click on 'Sign in' (the drop down menu will not open).+To still reach the internal login route for e.g., an internal administrative user, you can manually navigate to `/internal_login`.+This route is only available when the direct login provider is set.+> **NOTE:** This does not stop a user from manually navigating to any other omniauth provider if additional ones are configured.*default: nil*diff --git a/spec/controllers/account_controller_spec.rb b/spec/controllers/account_controller_spec.rbindex 52a4b280642..35eb4c56d25 100644--- a/spec/controllers/account_controller_spec.rb+++ b/spec/controllers/account_controller_spec.rb@@ -120,7 +120,7 @@ describe AccountController,it 'allows to login internally using a special route' doget :internal_login- expect(response).to have_http_status(404)+ expect(response).to have_http_status(:not_found)expect(session[:internal_login]).not_to be_presentendend