parent
0a4caa89c3
commit
43c61bca60
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue