Browse Source

fixed 修改用户参数错误 log

pull/342/head
xxqfamous 3 years ago
parent
commit
fa57d3a9ba
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/controllers/accounts_controller.rb

+ 2
- 2
app/controllers/accounts_controller.rb View File

@@ -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…
Cancel
Save