Added fix in config sso for bookstack plus

This commit is contained in:
root 2025-01-22 17:41:08 +00:00
parent 079e905432
commit e0e94beb77

View File

@ -201,6 +201,7 @@ uninstall_bookstack() {
echo -ne "done.\n"
}
configsso_bookstack() {
if [[ "${PLUS}" != "true" ]]; then
echo -ne "* Configuring bookstack container with SSO.."
[ ! -d "/federated/apps/authelia" ] && failcheck "Authelia is not installed. You need this first before continuing."
@ -259,6 +260,7 @@ EOF
run_command "/federated/bin/start bookstack"
echo -ne "done.\n"
fi
}
configsso_bookstack_plus() {
GITEA_CLIENT_SECRET=$(cat /federated/apps/bookstack/.bookstack.client.secret)