aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/http_authentication.rb
diff options
context:
space:
mode:
authorTom Kadwill <tomkadwill@gmail.com>2016-04-23 14:24:10 +0100
committerTom Kadwill <tomkadwill@gmail.com>2016-04-23 14:24:10 +0100
commit51a2f7bb67cd58a1f5e999ee60f4eb97730f7f35 (patch)
treebc0ca371af26b68fd06c45c4cf06fe1a2c4794d9 /actionpack/lib/action_controller/metal/http_authentication.rb
parent0f8eefa6a581f1f04a1258342419c2896f9062ab (diff)
downloadrails-51a2f7bb67cd58a1f5e999ee60f4eb97730f7f35.tar.gz
rails-51a2f7bb67cd58a1f5e999ee60f4eb97730f7f35.tar.bz2
rails-51a2f7bb67cd58a1f5e999ee60f4eb97730f7f35.zip
Actionpack documentation typos [ci skip]
Diffstat (limited to 'actionpack/lib/action_controller/metal/http_authentication.rb')
-rw-r--r--actionpack/lib/action_controller/metal/http_authentication.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/http_authentication.rb b/actionpack/lib/action_controller/metal/http_authentication.rb
index 53527c08b6..4639348509 100644
--- a/actionpack/lib/action_controller/metal/http_authentication.rb
+++ b/actionpack/lib/action_controller/metal/http_authentication.rb
@@ -310,9 +310,9 @@ module ActionController
end
# Might want a shorter timeout depending on whether the request
- # is a PATCH, PUT, or POST, and if client is browser or web service.
+ # is a PATCH, PUT, or POST, and if the client is a browser or web service.
# Can be much shorter if the Stale directive is implemented. This would
- # allow a user to use new nonce without prompting user again for their
+ # allow a user to use new nonce without prompting the user again for their
# username and password.
def validate_nonce(secret_key, request, value, seconds_to_timeout=5*60)
return false if value.nil?