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

Remove unneeded method

Klaus Zandersd53ff877bfae
diff --git a/modules/two_factor_authentication/app/controllers/two_factor_authentication/base_controller.rb b/modules/two_factor_authentication/app/controllers/two_factor_authentication/base_controller.rb
index fe7f6bb0f71..01065a27e72 100644
--- a/modules/two_factor_authentication/app/controllers/two_factor_authentication/base_controller.rb
+++ b/modules/two_factor_authentication/app/controllers/two_factor_authentication/base_controller.rb
@@ -178,10 +178,6 @@ module ::TwoFactorAuthentication
@webauthn_credential ||= WebAuthn::Credential.from_create(JSON.parse(params[:device][:webauthn_credential]))
end
- def assign_webauthn_attributes
- @device.assign_attributes
- end
-
def verify_webauthn_credential
webauthn_credential.verify(session[:webauthn_challenge])
session.delete(:webauthn_challenge)