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

This commit is contained in:
Konrad Pozniak 2018-02-18 22:57:53 +01:00 committed by Eugen Rochko
parent 78936461d7
commit bb26cdda24
1 changed files with 1 additions and 1 deletions

View File

@ -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