Shorter cookie

This commit is contained in:
Bob Mottram 2018-01-04 18:48:21 +00:00
parent 710a34d15e
commit 7a8d22a62f
1 changed files with 2 additions and 2 deletions

View File

@ -422,7 +422,7 @@ function install_fedwiki {
FEDWIKI_ONION_HOSTNAME=$(add_onion_service fedwiki 80 ${FEDWIKI_ONION_PORT})
if [ ! $FEDWIKI_COOKIE ]; then
FEDWIKI_COOKIE="$(create_password 30)$(create_password 30)$(create_password 30)"
FEDWIKI_COOKIE="$(create_password 30)"
fi
echo '[Unit]' > /etc/systemd/system/fedwiki.service
@ -456,7 +456,7 @@ function install_fedwiki {
fedwiki_setup_web
${PROJECT_NAME}-pass -u $MY_USERNAME -a fedwiki -p "$FEDWIKI_ADMIN_PASSWORD"
${PROJECT_NAME}-pass -u $MY_USERNAME -a fedwiki -p "$FEDWIKI_COOKIE"
function_check add_ddns_domain
add_ddns_domain $FEDWIKI_DOMAIN_NAME