(Fix) Change SECRET_KEY_BASE to 64 char
This commit is contained in:
Andrew Cravenho 2018-07-05 13:02:11 -04:00 committed by GitHub
commit f60f10c157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ EOF
if [ -z "$SECRET_KEY_BASE" ]; then
SECRET_KEY_BASE="$(get_config 'secret_key_base')"
if [ -z "$SECRET_KEY_BASE" ]; then
SECRET_KEY_BASE="$(openssl rand -base64 32)"
SECRET_KEY_BASE="$(openssl rand -base64 64)"
fi
fi