Remove secret_token.rb

This commit is contained in:
Ari Timonen 2020-04-10 07:43:06 +03:00
parent 72782585be
commit 4583136768
3 changed files with 8 additions and 13 deletions

4
.env
View file

@ -7,6 +7,7 @@ RAILS_ENV=production
# App secret for cookie encryption, blank is random # App secret for cookie encryption, blank is random
APP_SECRET= APP_SECRET=
APP_SECRET_KEY_BASE=
# FIXME: This doesn't really belong here # FIXME: This doesn't really belong here
# Find a better solution. Since nginx needs all these variables for envsubst # Find a better solution. Since nginx needs all these variables for envsubst
@ -77,3 +78,6 @@ NEW_RELIC_LICENSE_KEY=
GOOGLE_API_KEY= GOOGLE_API_KEY=
GOOGLE_CALENDAR_ID= GOOGLE_CALENDAR_ID=
GOOGLE_CALENDAR=enabled GOOGLE_CALENDAR=enabled
# Steam web api key
STEAM_WEB_API_KEY=

3
.gitignore vendored
View file

@ -26,6 +26,9 @@ db/initdb.d/*
!db/initdb.d/.placeholder !db/initdb.d/.placeholder
!db/initdb.d/*setup*.sql !db/initdb.d/*setup*.sql
# secrets
**/*secrets*.yml
# ignore dkim keys # ignore dkim keys
dkim dkim
ext/dkim ext/dkim

View file

@ -1,12 +0,0 @@
# Be sure to restart your server when you modify this file.
# Your secret key is used for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
# You can use `rake secret` to generate a secure secret key.
# Make sure your secret_key_base is kept private
# if you're sharing your code publicly.
Ensl::Application.config.secret_key_base = '356eee0f950cf925a0c1cbc8f15c1dfddc337a55f177388056906aea7de379f8bc5155e3f8a9d6d716f708b74f912305fc3276d4f290bdf66eadf56a61679c4c'