forked from Nixius/authelia
1
0
Fork 0

Fix Authelia reset password URL: custom template replaces %2Flogin with /login

Made-with: Cursor
This commit is contained in:
Leopere 2026-03-04 17:43:35 -05:00
parent 926ddc0356
commit 3f5320043c
Signed by: colin
SSH Key Fingerprint: SHA256:nRPCQTeMFLdGytxRQmPVK9VXY3/ePKQ5lGRyJhT5DY8
3 changed files with 24 additions and 0 deletions

View File

@ -1,4 +1,5 @@
notifier:
template_path: /config/email_templates
smtp:
address: 'submission://box.p.nixc.us:587'
username: 'auth@a250.ca'

View File

@ -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>

View File

@ -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 }}.