* making sure an invited user can still get a signup; making logic simpler to follo

This commit is contained in:
Seth Call 2013-07-31 10:07:41 -05:00
parent 584fbe25d1
commit 248f9b3048
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class UserManager < BaseManager
@user = User.new
# check if we have disabled open signup for this site. open == invited users can still get in
unless SampleApp::Application.config.signup_enabled && invited_user.nil?
if !SampleApp::Application.config.signup_enabled && invited_user.nil?
raise PermissionError, "Signups are currently disabled"
end