[BUGFIX] Add path to generated links for emails (#1045)
parent
763df4ba5a
commit
e793e9c4e3
|
@ -61,8 +61,8 @@ func IdentityVerificationStart(args IdentityVerificationStartArgs) RequestHandle
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
link := fmt.Sprintf("%s://%s%s?token=%s", ctx.XForwardedProto(),
|
link := fmt.Sprintf("%s://%s%s%s?token=%s", ctx.XForwardedProto(),
|
||||||
ctx.XForwardedHost(), args.TargetEndpoint, ss)
|
ctx.XForwardedHost(), ctx.Configuration.Server.Path, args.TargetEndpoint, ss)
|
||||||
|
|
||||||
params := map[string]interface{}{
|
params := map[string]interface{}{
|
||||||
"title": args.MailTitle,
|
"title": args.MailTitle,
|
||||||
|
|
Loading…
Reference in New Issue