[BUGFIX] Add path to generated links for emails (#1045)

This commit is contained in:
Amir Zarrinkafsh 2020-05-24 09:51:34 +10:00 committed by GitHub
parent 763df4ba5a
commit e793e9c4e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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