Skip to content

Commit

Permalink
fix auth
Browse files Browse the repository at this point in the history
  • Loading branch information
nofxx committed Jul 8, 2008
1 parent cc1798d commit 36f8b29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ class ApplicationController < ActionController::Base
#
# Be sure to include AuthenticationSystem in Application Controller instead
include AuthenticatedSystem


before_filter :login_required
# See ActionController::RequestForgeryProtection for details
# Uncomment the :secret if you're not using the cookie session store
protect_from_forgery # :secret => '4008a843b7f2120eb3e66893063f1ba9'
Expand Down
2 changes: 2 additions & 0 deletions app/controllers/sessions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
class SessionsController < ApplicationController
# Be sure to include AuthenticationSystem in Application Controller instead
include AuthenticatedSystem

skip_before_filter :login_required

# render new.rhtml
def new
Expand Down

0 comments on commit 36f8b29

Please sign in to comment.