From fa57d3a9baa5391e94dba7efa094a0592a204a16 Mon Sep 17 00:00:00 2001 From: xxqfamous Date: Tue, 30 May 2023 12:38:36 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E4=BF=AE=E6=94=B9=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=94=99=E8=AF=AF=20log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/accounts_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index 10fb57e6d..65b8d4f17 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -421,10 +421,10 @@ class AccountsController < ApplicationController end def remote_register_params - params.permit(:username, :email, :password, :platform) + params.permit(:username, :email, :password, :platform, :user_id) end def simple_update_params - params.permit(:username, :email, :password, :platform) + params.permit(:username, :email, :password, :platform, :user_id) end end