旧版认证有问题

dev_aliyun
daiao 6 years ago
parent a60f4332b3
commit 10aeb13393

@ -629,7 +629,7 @@ module ApplicationHelper
end
=end
user_e = UserExtensions.where(:user_id => User.current.id).first
if User.current.lastname.blank? || user_e.school_id.blank? || user_e.identity.blank? || User.current.mail.blank?
if User.current.profile_completed?
redirect_to my_account_path
Rails.logger.info("check_authentication end")
elsif User.current.certification != 1 # 系统没有授权

Loading…
Cancel
Save