aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-10-29 22:40:35 +0100
committerhellekin <hellekin@cepheide.org>2020-10-29 22:40:35 +0100
commit3d4f9f2c280f9d85722951fa5850ca00a7e80aac (patch)
tree476e5100981e9507aeb5e41a784705e1c8bb1a0b /app/controllers/application_controller.rb
parent1cda1e3525b180778fb0ba864d63698941eb7360 (diff)
downloadincommon-map-3d4f9f2c280f9d85722951fa5850ca00a7e80aac.tar.gz
REUSE: Add AGPL-3.0-or-later to app/*
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 14f50bf..5299f54 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -1,6 +1,8 @@
-class ApplicationController < ActionController::Base
- protect_from_forgery with: :null_session
+# SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc>
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+class ApplicationController < ActionController::Base
require 'sso'
before_action :current_user