add expiry to welcome email, add dummy emailer for debugging

the "yourAccountWillExpire" has also been added to the editor for #81.
To use the dummy emailer, set [email]/method to "dummy".
This commit is contained in:
Harvey Tindall
2021-04-08 14:20:13 +01:00
parent 2687af31ca
commit 7a3e0d60f9
5 changed files with 48 additions and 17 deletions

View File

@@ -64,6 +64,7 @@
<p>{{ .youCanLoginWith }}:</p>
{{ .jellyfinURLString }}: <a href="{{ .jellyfinURLVal }}">{{ .jellyfinURL }}</a>
<p>{{ .usernameString }}: <i>{{ .username }}</i></p>
<p>{{ .yourAccountWillExpire }}</p>
</mj-text>
</mj-column>
</mj-section>

View File

@@ -6,5 +6,6 @@
{{ .usernameString }}: {{ .username }}
{{ .yourAccountWillExpire }}
{{ .message }}