dev_cs
cxt 6 years ago
parent 78424b04f0
commit 5a9ba51dec

@ -253,7 +253,10 @@ class ApplicationController < ActionController::Base
if Digest::MD5.hexdigest(content) == params[:chinaoocKey]
user = open_class_user
start_user_session(user) if user
if user
start_user_session(user)
set_autologin_cookie(user)
end
User.current = user
end
end

Loading…
Cancel
Save