1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-09 20:05:22 +02:00

[MAIL] Use correct function in mail footer

- Regression of #4635
- The authentication mails weren't being sent with links to the
instance, because the the wrong variable was used in the mail footer.
`$.AppUrl` should've been `AppUrl`.
- Unit test added.
This commit is contained in:
Gusted 2024-07-26 15:16:54 +02:00
parent 2285526e93
commit 685a903cd5
No known key found for this signature in database
GPG key ID: FD821B732837125F
2 changed files with 3 additions and 1 deletions

View file

@ -1 +1 @@
<p><a target="_blank" rel="noopener noreferrer" href="{{$.AppUrl}}">{{AppName}}</a></p>
<p><a target="_blank" rel="noopener noreferrer" href="{{AppUrl}}">{{AppName}}</a></p>