mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
[BUGFIX] Add path to generated links for emails (#1045)
This commit is contained in:
parent
763df4ba5a
commit
e793e9c4e3
|
@ -61,8 +61,8 @@ func IdentityVerificationStart(args IdentityVerificationStartArgs) RequestHandle
|
|||
return
|
||||
}
|
||||
|
||||
link := fmt.Sprintf("%s://%s%s?token=%s", ctx.XForwardedProto(),
|
||||
ctx.XForwardedHost(), args.TargetEndpoint, ss)
|
||||
link := fmt.Sprintf("%s://%s%s%s?token=%s", ctx.XForwardedProto(),
|
||||
ctx.XForwardedHost(), ctx.Configuration.Server.Path, args.TargetEndpoint, ss)
|
||||
|
||||
params := map[string]interface{}{
|
||||
"title": args.MailTitle,
|
||||
|
|
Loading…
Reference in New Issue
Block a user