Skip to content

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

App Title from Settings

Klaus Zanders8050c52f83d4
diff --git a/modules/two_factor_authentication/lib/open_project/two_factor_authentication/engine.rb b/modules/two_factor_authentication/lib/open_project/two_factor_authentication/engine.rb
index 813987f06e7..de5d15f9f1c 100644
--- a/modules/two_factor_authentication/lib/open_project/two_factor_authentication/engine.rb
+++ b/modules/two_factor_authentication/lib/open_project/two_factor_authentication/engine.rb
@@ -1,4 +1,5 @@
require 'open_project/plugins'
+require 'webauthn'
module OpenProject::TwoFactorAuthentication
class Engine < ::Rails::Engine
@@ -63,8 +64,8 @@ module OpenProject::TwoFactorAuthentication
config.after_initialize do
WebAuthn.configure do |config|
- config.origin = "https://auth.example.com"
- config.rp_name = "Example Inc."
+ config.origin = "https://auth.example.com" # TODO: See where I can find this properly
+ config.rp_name = Setting[:app_title]
end
end
end