fixed 增加自动登录,gitea注册

This commit is contained in:
xiaoxiaoqiong 2022-05-24 14:00:15 +08:00
parent b45ee11239
commit 93f8b659a1
1 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,7 @@ json.user_identity @user.identity
json.tidding_count 0
json.user_phone_binded @user.phone.present?
json.need_edit_info @user.need_edit_info?
json.phone @user.phone
# json.phone @user.phone
# json.email @user.mail
json.profile_completed @user.profile_is_completed?
json.professional_certification @user.professional_certification
@ -25,4 +25,5 @@ json.description @user.description
json.super_description @user.super_description
json.(@user, :show_email, :show_department, :show_location, :show_super_description)
json.message_unread_total @message_unread_total
json.has_trace_user @user.trace_user.present?
json.has_trace_user @user.trace_user.present?
json.is_new params[:login].to_s.include?("#{@user.login}")