Remove invalid options from recovery codes controller (#38733)

This commit is contained in:
Matt Jankowski 2026-04-17 09:25:39 -04:00 committed by GitHub
parent 570f2ef482
commit 5722b1bbc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@ module Settings
skip_before_action :require_functional!
before_action :require_challenge!, on: :create
before_action :require_challenge!
def create
@recovery_codes = current_user.generate_otp_backup_codes!