0
0
Fork 0

Add time zone preference (#25342)

This commit is contained in:
Eugen Rochko 2023-06-10 03:29:37 +02:00 committed by GitHub
parent 16dd3f08c1
commit 4c9406bdb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 32 additions and 17 deletions

View file

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