Skip to content

Commit

Permalink
[WiP] Try something
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed Jan 27, 2025
1 parent e736363 commit a3ccf1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/devise/strategies/two_factor_pam_authenticatable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def authenticate!
protected

def valid_params?
params[scope].respond_to?(:[]) && params[scope][:password].present?
params.expect(scope => [:password])[scope][:password].present?
end
end
end
Expand Down

0 comments on commit a3ccf1a

Please sign in to comment.