mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-23 14:51:56 -06:00
26 lines
753 B
Plaintext
26 lines
753 B
Plaintext
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Privacy policy</title>
|
|
</head>
|
|
<body>
|
|
{{ if .HasConsented }}
|
|
<p>
|
|
You have already given your consent.
|
|
</p>
|
|
{{ else }}
|
|
<p>
|
|
Please give your consent to keep using this homeserver.
|
|
</p>
|
|
{{ if not .ReadOnly }}
|
|
<!-- 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="{{ .UserID }}"/>
|
|
<input type="hidden" name="h" value="{{ .UserHMAC }}"/>
|
|
<input type="submit" value="I consent"/>
|
|
</form>
|
|
{{ end }}
|
|
{{ end }}
|
|
</body>
|
|
</html> |