From 16ec14322824eea520137c2e96604b5cdf724073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Yokomizo?= Date: Thu, 5 Dec 2013 10:39:42 -0200 Subject: [PATCH] fix typo and some clarification --- lib/devise/strategies/authenticatable.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/devise/strategies/authenticatable.rb b/lib/devise/strategies/authenticatable.rb index 0ded0256..4468c8ee 100644 --- a/lib/devise/strategies/authenticatable.rb +++ b/lib/devise/strategies/authenticatable.rb @@ -49,7 +49,7 @@ module Devise valid_params? && Devise::TRUE_VALUES.include?(params_auth_hash[:remember_me]) end - # Check if this is strategy is valid for http authentication by: + # Check if this is a valid strategy for http authentication by: # # * Validating if the model allows params authentication; # * If any of the authorization headers were sent; @@ -59,7 +59,7 @@ module Devise http_authenticatable? && request.authorization && with_authentication_hash(:http_auth, http_auth_hash) end - # Check if this is strategy is valid for params authentication by: + # Check if this is a valid strategy for params authentication by: # # * Validating if the model allows params authentication; # * If the request hits the sessions controller through POST;