From dd02cae28055a2cd1a4360dce4e23ed199029e87 Mon Sep 17 00:00:00 2001 From: anke1460 Date: Fri, 28 Feb 2020 04:58:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E4=BF=AE=E6=94=B9=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=99=BB=E5=BD=95=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/tasks/tfxy.rake | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/tasks/tfxy.rake b/lib/tasks/tfxy.rake index 40026c6bc..f1644e320 100644 --- a/lib/tasks/tfxy.rake +++ b/lib/tasks/tfxy.rake @@ -210,13 +210,12 @@ namespace :tfxy do else # 系统已有用户,关联sso认证用户 old_user.update( - login: "tfxy#{student_data.cell(r, 1)}", - lastname: student_data.cell(r, 2), - nickname: student_data.cell(r, 2), - certification: true, - professional_certification: true, - authentication: true, - profile_completed: true) + lastname: student_data.cell(r, 2), + nickname: student_data.cell(r, 2), + certification: true, + professional_certification: true, + authentication: true, + profile_completed: true) OpenUsers::Cas.find_or_create_by(uid: student_data.cell(r, 1)) do |u| u.extra = {phone: student_data.cell(r, 8)}