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

This commit is contained in:
Claire authored and GitHub committed 2025-01-27 16:30:18 +00:00
1 parent e97335191d
commit ea743d68f3
1 file changed
+1 -1
@@ -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