This commit is contained in:
yystopf 2021-12-22 16:03:23 +08:00
parent 36b68df273
commit 0083ef33cb
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class AccountsController < ApplicationController
# 其他平台同步注册的用户
def remote_register
# Register::RemoteForm.new(remote_register_params).validate!
Register::RemoteForm.new(remote_register_params).validate!
username = params[:username]&.gsub(/\s+/, "")
tip_exception("无法使用以下关键词:#{username},请重新命名") if ReversedKeyword.check_exists?(username)
email = params[:email]&.gsub(/\s+/, "")