app/controllers/dashboard_controller.rb
# Handle single-signon from login screen
Handle single-signon from login screen
Handle single - signon from login screen
def kerberos_authenticate
    if @user_name.blank? && request.headers["X-Remote-User"].present?
      @user_name = params[:user_name] = request.headers["X-Remote-User"].split("@").first
    end
    authenticate
  end
def kerberos_authenticate if @user_name . blank? && request . headers [ "X-Remote-User" ] . present? @user_name = params [ :user_name ] = request . headers [ "X-Remote-User" ] . split ( "@" ) . first end authenticate end
Handle single-signon from login screen
Handle single - signon from login screen