fixed 增加自动登录,gitea注册
This commit is contained in:
parent
ebe5fad7dd
commit
94166a363c
|
@ -26,4 +26,4 @@ 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.is_new params[:login].to_s.include?("#{@user.login}")
|
||||
json.is_new @user.login.present? && params[:login].to_s.include?("#{@user.login}")
|
Loading…
Reference in New Issue