diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 5d05c3b27..7c30ccda3 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -4,9 +4,9 @@ class UsersController < ApplicationController include Helpers::Email include Modules::SearchFilter - before_action :authenticate_user!, except: %i[resend_invite] + before_action :authenticate_user! before_action :find_resource, except: %i[new create] - before_action :authenticate_scope!, except: %i[new resend_invite] + before_action :authenticate_scope!, except: %i[new] def index redirect_to users_organisation_path(current_user.organisation) unless current_user.support?