mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 16:59:41 +00:00
Use expect in remaining controller locations (#33748)
This commit is contained in:
@@ -58,6 +58,6 @@ module ChallengableConcern
|
||||
end
|
||||
|
||||
def challenge_params
|
||||
params.require(:form_challenge).permit(:current_password, :return_to)
|
||||
params.expect(form_challenge: [:current_password, :return_to])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user