diff options
author | Jon Cooper <jon.cooper@gmail.com> | 2011-03-31 16:19:18 -0700 |
---|---|---|
committer | Jon Cooper <jon.cooper@gmail.com> | 2011-03-31 16:22:52 -0700 |
commit | c17b8e4047443b416685e30c8825ae01909f8d27 (patch) | |
tree | 0887c95e4bfb4d7b22711a0a9d5c7b71f6e1ceee /actionpack/lib/action_controller/metal/http_authentication.rb | |
parent | 63e4e218c57a1b5f19ba18acaa3c83ff0034a2dc (diff) | |
download | rails-c17b8e4047443b416685e30c8825ae01909f8d27.tar.gz rails-c17b8e4047443b416685e30c8825ae01909f8d27.tar.bz2 rails-c17b8e4047443b416685e30c8825ae01909f8d27.zip |
Trivial fix to HTTP Digest auth MD5 example
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 39c804d707..c305abf5eb 100644 --- a/actionpack/lib/action_controller/metal/http_authentication.rb +++ b/actionpack/lib/action_controller/metal/http_authentication.rb @@ -77,7 +77,7 @@ module ActionController # 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] # |