fix(terms): Display template notice, support custom terms loading

Closes #1523
This commit is contained in:
Maksim Eltyshev
2026-02-17 15:37:26 +01:00
parent addad4378a
commit d83ea4b146
16 changed files with 106 additions and 30 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ jobs:
- name: Seed database with terms signature
run: |
TERMS_SIGNATURE=$(sha256sum terms/self-hosted/en-US.md | awk '{print $1}')
TERMS_SIGNATURE=$(sha256sum terms/_template/en-US.md | awk '{print $1}')
PGPASSWORD=$POSTGRES_PASSWORD psql -h localhost -U $POSTGRES_USERNAME -d $POSTGRES_DATABASE -c "UPDATE user_account SET terms_signature = '$TERMS_SIGNATURE';"
working-directory: ./server