Skip to content
Browse files

Trivial fix to HTTP Digest auth MD5 example

  • Loading branch information...
1 parent 63e4e21 commit c17b8e4047443b416685e30c8825ae01909f8d27 @joncooper joncooper committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/http_authentication.rb
View
2 actionpack/lib/action_controller/metal/http_authentication.rb
@@ -77,7 +77,7 @@ module HttpAuthentication
# class PostsController < ApplicationController
# REALM = "SuperSecret"
# USERS = {"dhh" => "secret", #plain text password
- # "dap" => Digest:MD5::hexdigest(["dap",REALM,"secret"].join(":")) #ha1 digest password
+ # "dap" => Digest::MD5.hexdigest(["dap",REALM,"secret"].join(":")) #ha1 digest password
#
# before_filter :authenticate, :except => [:index]
#

0 comments on commit c17b8e4

Please sign in to comment.
Something went wrong with that request. Please try again.