Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Trivial fix to HTTP Digest auth MD5 example

  • Loading branch information...
commit c17b8e4047443b416685e30c8825ae01909f8d27 1 parent 63e4e21
@joncooper joncooper authored
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]
#
Please sign in to comment.
Something went wrong with that request. Please try again.