mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 08:19:05 +00:00
add parameter locked to /api/v1/update_credentials (#6506)
This commit is contained in:
committed by
Eugen Rochko
parent
78936461d7
commit
bb26cdda24
@@ -20,6 +20,6 @@ class Api::V1::Accounts::CredentialsController < Api::BaseController
|
|||||||
private
|
private
|
||||||
|
|
||||||
def account_params
|
def account_params
|
||||||
params.permit(:display_name, :note, :avatar, :header)
|
params.permit(:display_name, :note, :avatar, :header, :locked)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user