aboutsummaryrefslogtreecommitdiffstats
path: root/lib/capistrano/tasks/create_secret_token.rake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/capistrano/tasks/create_secret_token.rake')
-rw-r--r--lib/capistrano/tasks/create_secret_token.rake18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/capistrano/tasks/create_secret_token.rake b/lib/capistrano/tasks/create_secret_token.rake
index e51a486..01658cf 100644
--- a/lib/capistrano/tasks/create_secret_token.rake
+++ b/lib/capistrano/tasks/create_secret_token.rake
@@ -1,4 +1,18 @@
-# :mode=ruby:
+# This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no
+# Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License version 3
+# as published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
require 'securerandom'
namespace :deploy do
@@ -15,3 +29,5 @@ namespace :deploy do
before 'deploy:check:linked_files', 'deploy:generate_secret_token'
end
+
+# :mode=ruby: