guildgate/templates/token.html

14 lines
550 B
HTML
Raw Permalink Normal View History

2020-09-17 17:36:39 -04:00
{{ define "token" }}
{{ template "header" .}}
<p>The following token has been generated and can be used to register an account on this website.</p>
<p>It is valid for 24 hours.</p>
<p>To Use: Paste the following string into the "Secret" box during registration</p>
<textarea id="token_area" name="generated_token" rows="4" cols="50">
{{ .Token }}
</textarea>
<p>You can also share this link: <a href="http://localhost:8080/register?secret={{.TokenURL}}">http://localhost:8080/register?secret={{.TokenURL}}</a>
</p>
2020-09-17 17:36:39 -04:00
{{template "footer" .}}
{{ end }}