fixed 修改用户参数错误 log
This commit is contained in:
parent
9c9c376224
commit
fa57d3a9ba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue