|
|
|
@ -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 # 系统没有授权
|
|
|
|
|