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
device_type method must be a class method
Klaus Zanders9bdb88f2102b
diff --git a/modules/two_factor_authentication/app/models/two_factor_authentication/device/totp.rb b/modules/two_factor_authentication/app/models/two_factor_authentication/device/totp.rbindex 8c335727dce..a4570de8a15 100644--- a/modules/two_factor_authentication/app/models/two_factor_authentication/device/totp.rb+++ b/modules/two_factor_authentication/app/models/two_factor_authentication/device/totp.rb@@ -4,7 +4,7 @@ module TwoFactorAuthenticationclass Device::Totp < Devicevalidates_presence_of :otp_secret- def device_type+ def self.device_type:totpend