aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorArthur Nogueira Neves <github@arthurnn.com>2015-03-05 09:32:13 -0500
committerArthur Nogueira Neves <github@arthurnn.com>2015-03-05 09:32:13 -0500
commit34d6a17d4d9690c25c686e1701103c0d70743819 (patch)
tree24b9fdb53bc00db5b2fbd64e9fd0689a4c6387c1 /actionpack/lib
parent3c94bdd05506c1f276b866255312d945a1edc039 (diff)
parent7f10d72dd2be00defeed87c8a4d869f66dfbc07e (diff)
downloadrails-34d6a17d4d9690c25c686e1701103c0d70743819.tar.gz
rails-34d6a17d4d9690c25c686e1701103c0d70743819.tar.bz2
rails-34d6a17d4d9690c25c686e1701103c0d70743819.zip
Merge pull request #19214 from sivsushruth/doc_fix
Doc fix [ci skip]
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/metal/http_authentication.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/http_authentication.rb b/actionpack/lib/action_controller/metal/http_authentication.rb
index 20afcee537..2273406948 100644
--- a/actionpack/lib/action_controller/metal/http_authentication.rb
+++ b/actionpack/lib/action_controller/metal/http_authentication.rb
@@ -314,7 +314,7 @@ module ActionController
nonce(secret_key, t) == value && (t - Time.now.to_i).abs <= seconds_to_timeout
end
- # Opaque based on random generation - but changing each request?
+ # Opaque based on digest of secret key
def opaque(secret_key)
::Digest::MD5.hexdigest(secret_key)
end