Shorter cookie
This commit is contained in:
parent
710a34d15e
commit
7a8d22a62f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue