From 5e656272fdfd4407751cc150994f517bfb50b806 Mon Sep 17 00:00:00 2001 From: Can Olcer Date: Thu, 18 Aug 2022 17:35:51 +0200 Subject: [PATCH] fix: settings auth bug (#57) --- app/controllers/users/settings_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/users/settings_controller.rb b/app/controllers/users/settings_controller.rb index df8f9d1..2a86833 100644 --- a/app/controllers/users/settings_controller.rb +++ b/app/controllers/users/settings_controller.rb @@ -2,6 +2,7 @@ module Users class SettingsController < ApplicationController + before_action :authenticate_user! before_action :show_not_active_flash, only: %i[show] def show