about summary refs log tree commit diff
path: root/app/controllers/settings/sessions_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/settings/sessions_controller.rb')
-rw-r--r--app/controllers/settings/sessions_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/settings/sessions_controller.rb b/app/controllers/settings/sessions_controller.rb
index 780ea64b4..d74db6000 100644
--- a/app/controllers/settings/sessions_controller.rb
+++ b/app/controllers/settings/sessions_controller.rb
@@ -2,6 +2,7 @@
 
 #  Intentionally does not inherit from BaseController
 class Settings::SessionsController < ApplicationController
+  before_action :authenticate_user!
   before_action :set_session, only: :destroy
 
   def destroy