Add age verification on sign-up (#34150)
This commit is contained in:
1 parent
4a6cf67c46
commit
d213c585ff
18 files changed
+268
-38
No files matched your search
@@ -119,7 +119,7 @@ class Api::V1::AccountsController < Api::BaseController
|
||||
end
|
||||
|
||||
def account_params
|
||||
params.permit(:username, :email, :password, :agreement, :locale, :reason, :time_zone, :invite_code)
|
||||
params.permit(:username, :email, :password, :agreement, :locale, :reason, :time_zone, :invite_code, :date_of_birth)
|
||||
end
|
||||
|
||||
def invite
|
||||
|
||||
Reference in new issue
Block a user