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

pull/1046/head
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
1 changed files with 2 additions and 2 deletions

View File

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