refresh session

chromesetting
jingquan huang 5 years ago
parent 2f0d4c3350
commit 40315636e8

@ -56,7 +56,7 @@ module LoginHelper
# Sets the logged in user
def logged_user=(user)
reset_session
# reset_session
if user && user.is_a?(User)
User.current = user
start_user_session(user)

Loading…
Cancel
Save