aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/http_authentication.rb
diff options
context:
space:
mode:
authorSushruth Sivaramakrishnan <sivsushruth@gmail.com>2015-03-05 19:30:20 +0530
committerSushruth Sivaramakrishnan <sivsushruth@gmail.com>2015-03-05 19:30:20 +0530
commit7f10d72dd2be00defeed87c8a4d869f66dfbc07e (patch)
tree636da3f0c1f35ccb955e2d0532fa8754d3cb034b /actionpack/lib/action_controller/metal/http_authentication.rb
parentd7c1293c5b9cece7e9fc20e834e8ef536fc79b1c (diff)
downloadrails-7f10d72dd2be00defeed87c8a4d869f66dfbc07e.tar.gz
rails-7f10d72dd2be00defeed87c8a4d869f66dfbc07e.tar.bz2
rails-7f10d72dd2be00defeed87c8a4d869f66dfbc07e.zip
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.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