mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-26 12:12:43 +00:00
Replace unprocessable_entity -> unprocessable_content (#35658)
This commit is contained in:
parent
5318957ab3
commit
8131268256
5 changed files with 10 additions and 10 deletions
|
|
@ -52,7 +52,7 @@ module Settings
|
|||
end
|
||||
else
|
||||
flash[:error] = I18n.t('webauthn_credentials.create.error')
|
||||
status = :unprocessable_entity
|
||||
status = :unprocessable_content
|
||||
end
|
||||
else
|
||||
flash[:error] = t('webauthn_credentials.create.error')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue