From 882d1cd5aa60e447037e706133a16195fc694e11 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 23 Aug 2015 22:15:10 +0200 Subject: [PATCH] Improved comments. --- app/controllers/application_controller.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 925264107..a3f6c214f 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -169,7 +169,7 @@ class ApplicationController < ActionController::Base error_message = 'authentication failed' - # check sso + # check sso based authentication sso_userdata = User.sso(params) if sso_userdata session[:persistent] = true @@ -179,7 +179,7 @@ class ApplicationController < ActionController::Base } end - # check http basic auth + # check http basic based authentication authenticate_with_http_basic do |username, password| logger.debug "http basic auth check '#{username}'" @@ -195,10 +195,10 @@ class ApplicationController < ActionController::Base } end - # check token + # check http token based authentication if auth_param[:token_action] authenticate_with_http_token do |token, _options| - logger.debug "token auth check #{token}" + logger.debug "token auth check '#{token}'" userdata = Token.check( action: auth_param[:token_action],