Fetch the tracker HTML from the config file, remove HYDRA_TRACKER

The indentation in the hydra.conf makes it possible to include multi-line
strings without it being likely that the contents of the tracker
is mis-parsed or interrupts tho config parser.

It isn't impossible / foolproof probably, but it shouldn't be likely.
This commit is contained in:
Graham Christensen
2022-01-05 14:49:18 -05:00
parent 76962bfcb0
commit 9708f6bf6f
3 changed files with 19 additions and 2 deletions

View File

@ -142,3 +142,12 @@ general any LDAP group of the form *hydra\_some\_role* (notice the
role_value: dn
role_search_options:
deref: always
Embedding Extra HTML
--------------------
Embed an analytics widget or other HTML in the `<head>` of each HTML document via:
```conf
tracker = <script src="...">
```