GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of technoweenie/restful-authentication
Description: Generates common user authentication code for Rails/Merb, with a full test/unit and rspec suite and optional Acts as State Machine support built-in.
Homepage: http://weblog.techno-weenie.net
Clone URL: git://github.com/b3b0p/restful-authentication.git
handle all formats in #access_denied, not just html/xml
technoweenie (author)
Wed Jan 30 23:11:36 -0800 2008
commit  698536b9edb795c0115be9f497f50613a284212d
tree    eb03a685d88d6b7eb731dc3dfca92e92cb63f5b4
parent  5088f2de532847ae03927c3f2181f3a082632a84
...
66
67
68
69
 
70
71
72
...
66
67
68
 
69
70
71
72
0
@@ -66,7 +66,7 @@ module AuthenticatedSystem
0
           store_location
0
           redirect_to new_<%= controller_singular_name %>_path
0
         end
0
- format.xml do
0
+ format.any do
0
           request_http_basic_authentication 'Web Password'
0
         end
0
       end

Comments

    No one has commented yet.