diff options
author | Arthur Nogueira Neves <github@arthurnn.com> | 2015-03-05 09:32:13 -0500 |
---|---|---|
committer | Arthur Nogueira Neves <github@arthurnn.com> | 2015-03-05 09:32:13 -0500 |
commit | 34d6a17d4d9690c25c686e1701103c0d70743819 (patch) | |
tree | 24b9fdb53bc00db5b2fbd64e9fd0689a4c6387c1 /actionpack/lib/action_controller/metal/http_authentication.rb | |
parent | 3c94bdd05506c1f276b866255312d945a1edc039 (diff) | |
parent | 7f10d72dd2be00defeed87c8a4d869f66dfbc07e (diff) | |
download | rails-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/action_controller/metal/http_authentication.rb')
-rw-r--r-- | actionpack/lib/action_controller/metal/http_authentication.rb | 2 |
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 |