Displaying 1 result from an estimated 1 matches for "secretscontroller".
2009 Apr 09
0
HTTP Digest Authentication not working
Hi to all,
I''ve created a new project with Rails 2.3.2 and literally copied the
HTTP Digest Authententication example from the documentation into a
SecretsController:
class SecretsController < ApplicationController
Users = {"dhh" => "secret"}
before_filter :authenticate
def secret
render :text => "Password Required!"
end
private
def authenticate
realm = "Application"
authenticate_or_re...