diff options
author | Travis Ralston <travpc@gmail.com> | 2018-10-12 17:53:14 -0600 |
---|---|---|
committer | Travis Ralston <travpc@gmail.com> | 2018-10-12 17:53:14 -0600 |
commit | 22a20044280d6c0a16ad9e94baf486046d536e5c (patch) | |
tree | a9470598f0c1640124950ef175a13241e476de8f /docs/privacy_policy_templates/en | |
parent | Merge branch 'develop' into travis/login-terms (diff) | |
download | synapse-22a20044280d6c0a16ad9e94baf486046d536e5c.tar.xz |
Update documentation and templates for new consent
Diffstat (limited to 'docs/privacy_policy_templates/en')
-rw-r--r-- | docs/privacy_policy_templates/en/1.0.html | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/privacy_policy_templates/en/1.0.html b/docs/privacy_policy_templates/en/1.0.html index 55c5e4b612..321c7e4671 100644 --- a/docs/privacy_policy_templates/en/1.0.html +++ b/docs/privacy_policy_templates/en/1.0.html @@ -12,12 +12,15 @@ <p> All your base are belong to us. </p> - <form method="post" action="consent"> - <input type="hidden" name="v" value="{{version}}"/> - <input type="hidden" name="u" value="{{user}}"/> - <input type="hidden" name="h" value="{{userhmac}}"/> - <input type="submit" value="Sure thing!"/> - </form> + {% if not public_version %} + <!-- The variables used here are only provided when the 'u' param is given to the homeserver --> + <form method="post" action="consent"> + <input type="hidden" name="v" value="{{version}}"/> + <input type="hidden" name="u" value="{{user}}"/> + <input type="hidden" name="h" value="{{userhmac}}"/> + <input type="submit" value="Sure thing!"/> + </form> + {% endif %} {% endif %} </body> </html> |