mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-11-05 01:40:10 +00:00
Harvey Tindall
ee026714d4
If enabled, a confirmation email will be sent before the user can create their account.
13 lines
464 B
HTML
13 lines
464 B
HTML
{{ define "form-base" }}
|
|
<script>
|
|
window.usernameEnabled = {{ .username }};
|
|
window.validationStrings = JSON.parse({{ .validationStrings }});
|
|
window.invalidPassword = "{{ .strings.reEnterPasswordInvalid }}";
|
|
window.URLBase = "{{ .urlBase }}";
|
|
window.code = "{{ .code }}";
|
|
window.messages = JSON.parse({{ .notifications }});
|
|
window.confirmation = {{ .confirmation }};
|
|
</script>
|
|
<script src="js/form.js" type="module"></script>
|
|
{{ end }}
|