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
Fix scope for unique ID
Klaus Zandersb7e8b203b587
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 f8c74f9fb6c..1b011621a48 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@@ -1,6 +1,6 @@module TwoFactorAuthenticationclass Device::Webauthn < Device- validates :webauthn_external_id, presence: true, uniqueness: { scoped_to: :user_id }+ validates :webauthn_external_id, presence: true, uniqueness: { scope: :user_id }validates :webauthn_public_key, presence: true# Check allowed channels