Fix Sigmah admin bcrypt hash generation
This commit is contained in:
parent
35ca12b96a
commit
ebd58cb120
@ -27,7 +27,7 @@ export SIGMAH_ADMIN_USER=Admin
|
||||
export SIGMAH_ADMIN_EMAIL=admin@example.com
|
||||
export SIGMAH_ADMIN_PWD=$(head -c 12 /dev/urandom | base64)
|
||||
apk --no-cache add apache2-utils
|
||||
export SIGMAH_ADMIN_HASH=$(htpasswd -bnBC 10 "" ${SIGMAH_ADMIN_PWD} | tr -d ':\n' | tr '$2y' '$2a')
|
||||
export SIGMAH_ADMIN_HASH=$(htpasswd -bnBC 10 "" ${SIGMAH_ADMIN_PWD} | tr -d ':\n' | sed 's/$2y/$2a/')
|
||||
apk --no-cache del apache2-utils
|
||||
sed -i "s|§OrganizationName§|Demo organization|g" /tmp/sigmah-newOrganizationLaunchScript.sql
|
||||
sed -i "s|§OrganizationLogoFilename§|logo.png|g" /tmp/sigmah-newOrganizationLaunchScript.sql
|
||||
|
Loading…
Reference in New Issue
Block a user