@ -17,7 +17,7 @@ class Oauth::CreateOrFindQqAccountService < ApplicationService
new_user = true
# 新用户
login = User.generate_login('Q')
@user = User.new(login: login, nickname: " ", type: 'User', status: User::STATUS_ACTIVE)
@user = User.new(login: login, type: 'User', status: User::STATUS_ACTIVE)
end
ActiveRecord::Base.transaction do
@ -24,7 +24,7 @@ class Oauth::CreateOrFindWechatAccountService < ApplicationService
login = User.generate_login('w')