Add time zone preference (#25342)
This commit is contained in:
parent
16dd3f08c1
commit
4c9406bdb0
20 changed files with 32 additions and 17 deletions
|
@ -90,7 +90,7 @@ class Api::V1::AccountsController < Api::BaseController
|
|||
end
|
||||
|
||||
def account_params
|
||||
params.permit(:username, :email, :password, :agreement, :locale, :reason)
|
||||
params.permit(:username, :email, :password, :agreement, :locale, :reason, :time_zone)
|
||||
end
|
||||
|
||||
def check_enabled_registrations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue