Skip to content

Commit 7f10d72

Browse files
committed
Doc fix [ci skip]
1 parent d7c1293 commit 7f10d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionpack/lib/action_controller/metal/http_authentication.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def validate_nonce(secret_key, request, value, seconds_to_timeout=5*60)
314314
nonce(secret_key, t) == value && (t - Time.now.to_i).abs <= seconds_to_timeout
315315
end
316316

317-
# Opaque based on random generation - but changing each request?
317+
# Opaque based on digest of secret key
318318
def opaque(secret_key)
319319
::Digest::MD5.hexdigest(secret_key)
320320
end

0 commit comments

Comments
 (0)