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
Allowed devices should be an array
Klaus Zanders40501bd95895
diff --git a/modules/two_factor_authentication/app/models/two_factor_authentication/device/webauthn.rb b/modules/two_factor_authentication/app/models/two_factor_authentication/device/webauthn.rbindex 7379befcd3f..c4aefe990b4 100644--- a/modules/two_factor_authentication/app/models/two_factor_authentication/device/webauthn.rb+++ b/modules/two_factor_authentication/app/models/two_factor_authentication/device/webauthn.rb@@ -22,14 +22,14 @@ module TwoFactorAuthentication@options_for_create ||= relying_party.options_for_registration(user: { id: user.webauthn_id, name: user.name },exclude: TwoFactorAuthentication::Device::Webauthn.where(user:).pluck(:webauthn_external_id),- authenticator_selection: { user_verification: 'discouraged' }+ authenticator_selection: { user_verification: "discouraged" })enddef options_for_get(relying_party)@options_for_get ||= relying_party.options_for_authentication(- user_verification: 'discouraged', # we do not require user verification- allow: webauthn_external_id # TODO: Maybe also allow all other tokens? Let's see+ user_verification: "discouraged", # we do not require user verification+ allow: [webauthn_external_id] # TODO: Maybe also allow all other tokens? Let's see)end