From 3d5dba1e9d9567cd234d68d146abe55e8f9c5fbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petteri=20R=C3=A4ty?= Date: Mon, 26 Jul 2010 13:29:59 +0300 Subject: [PATCH] Exclude do_signup from login_required If you globally enable login_required it is not skipped for UsersController#do_signup. --- hobo/lib/hobo/user_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hobo/lib/hobo/user_controller.rb b/hobo/lib/hobo/user_controller.rb index 2fbcc4a31..e654281d9 100644 --- a/hobo/lib/hobo/user_controller.rb +++ b/hobo/lib/hobo/user_controller.rb @@ -13,8 +13,8 @@ class << self end filter_parameter_logging "password" - skip_before_filter :login_required, :only => [:login, :signup, :forgot_password, :reset_password, :do_reset_password, - :accept_invitation, :do_accept_invitation] + skip_before_filter :login_required, :only => [:login, :signup, :do_signup, :forgot_password, :reset_password, + :do_reset_password, :accept_invitation, :do_accept_invitation] include_taglib "rapid_user_pages", :plugin => "hobo"