forked from Nixius/authelia
Fix Authelia reset password URL: custom template replaces %2Flogin with /login
Made-with: Cursor
This commit is contained in:
parent
926ddc0356
commit
3f5320043c
|
|
@ -1,4 +1,5 @@
|
|||
notifier:
|
||||
template_path: /config/email_templates
|
||||
smtp:
|
||||
address: 'submission://box.p.nixc.us:587'
|
||||
username: 'auth@a250.ca'
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head><meta charset="utf-8"><title>{{ .Title }}</title></head>
|
||||
<body>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<p>Hi {{ .DisplayName }},</p>
|
||||
<p>This email was sent to verify your identity. Click the link below to reset your password.</p>
|
||||
<p><a href="{{ replace "%2Flogin" "/login" .LinkURL }}">{{ .LinkText }}</a></p>
|
||||
<p>If you did not request this, you can safely ignore this email.</p>
|
||||
<p>This link was requested from {{ .RemoteIP }}.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{{ .Title }}
|
||||
|
||||
Hi {{ .DisplayName }},
|
||||
|
||||
This email was sent to verify your identity. Use the link below to reset your password:
|
||||
|
||||
{{ replace "%2Flogin" "/login" .LinkURL }}
|
||||
|
||||
If you did not request this, you can safely ignore this email.
|
||||
|
||||
This link was requested from {{ .RemoteIP }}.
|
||||
Loading…
Reference in New Issue