add parameter locked to /api/v1/update_credentials (#6506)

th-downstream
Konrad Pozniak 7 years ago committed by Eugen Rochko
parent 77f0e250a4
commit fa710fd496

@ -20,6 +20,6 @@ class Api::V1::Accounts::CredentialsController < Api::BaseController
private
def account_params
params.permit(:display_name, :note, :avatar, :header)
params.permit(:display_name, :note, :avatar, :header, :locked)
end
end

Loading…
Cancel
Save