Skip to content

Commit

Permalink
[webui] fixes login in anonymous-off mode (issue #823)
Browse files Browse the repository at this point in the history
  • Loading branch information
T1loc authored and adrianschroeter committed Nov 27, 2014
1 parent 18166fa commit 378cb8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/app/controllers/webui/user_controller.rb
Expand Up @@ -11,6 +11,8 @@ class Webui::UserController < Webui::WebuiController
before_filter :require_login, :only => [:edit, :save, :notifications, :update_notifications]
before_filter :overwrite_user, :only => [:show, :edit, :requests, :list_my]
before_filter :require_admin, :only => [:edit, :delete, :lock, :confirm, :admin]

skip_before_action :check_anonymous, only: [:do_login]

def logout
logger.info "Logging out: #{session[:login]}"
Expand Down

0 comments on commit 378cb8b

Please sign in to comment.