Skip to content

Commit

Permalink
[webui] invalidate session in LDAP mode
Browse files Browse the repository at this point in the history
found and fixed by Srinidhi B S
  • Loading branch information
adrianschroeter committed Jan 16, 2017
1 parent bab4ad2 commit aeede79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/app/controllers/webui/user_controller.rb
Expand Up @@ -14,6 +14,7 @@ def index

def logout
logger.info "Logging out: #{session[:login]}"
Rails.cache.delete("ldap_cache_userpasswd:#{session[:login]}")
reset_session
User.current = nil
if CONFIG['proxy_auth_mode'] == :on
Expand Down

0 comments on commit aeede79

Please sign in to comment.