Fix error in `TwoFactorPamAuthenticatable` when handling invalid params (#33746)

pull/2955/head
Claire 2025-01-27 17:30:18 +01:00 committed by GitHub
parent e97335191d
commit ea743d68f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module Devise
protected
def valid_params?
params[scope] && params[scope][:password].present?
params[scope].respond_to?(:[]) && params[scope][:password].present?
end
end
end