Change SECRECT_KEY_BASE to 64 char
Fixes #38 `prod.secret.exs` requires a 64 character string. The previous 32 character string created an error while trying to navigate to the verification page.
This commit is contained in:
parent
92d1054793
commit
6ecbe46de6
|
@ -295,7 +295,7 @@ EOF
|
||||||
if [ -z "$SECRET_KEY_BASE" ]; then
|
if [ -z "$SECRET_KEY_BASE" ]; then
|
||||||
SECRET_KEY_BASE="$(get_config 'secret_key_base')"
|
SECRET_KEY_BASE="$(get_config 'secret_key_base')"
|
||||||
if [ -z "$SECRET_KEY_BASE" ]; then
|
if [ -z "$SECRET_KEY_BASE" ]; then
|
||||||
SECRET_KEY_BASE="$(openssl rand -base64 32)"
|
SECRET_KEY_BASE="$(openssl rand -base64 64)"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue