diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-01-07 14:50:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-07 14:50:20 +0100 |
commit | 43c61bca60016cad5d3fae210fd57622b40225a8 (patch) | |
tree | 9529491545d4a340d63308105877963a54848b64 /app/controllers/api | |
parent | 0a4caa89c364fb9dcec966166e4bc9620ddf1013 (diff) |
Add locale param to sign-up API (#9747)
Fix #9627
Diffstat (limited to 'app/controllers/api')
-rw-r--r-- | app/controllers/api/v1/accounts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/accounts_controller.rb b/app/controllers/api/v1/accounts_controller.rb index 6e4084c4e..2ccbc3cbb 100644 --- a/app/controllers/api/v1/accounts_controller.rb +++ b/app/controllers/api/v1/accounts_controller.rb @@ -76,7 +76,7 @@ class Api::V1::AccountsController < Api::BaseController end def account_params - params.permit(:username, :email, :password, :agreement) + params.permit(:username, :email, :password, :agreement, :locale) end def check_enabled_registrations |