diff --git a/internal/middlewares/identity_verification.go b/internal/middlewares/identity_verification.go index 9bdb0094..7039d55c 100644 --- a/internal/middlewares/identity_verification.go +++ b/internal/middlewares/identity_verification.go @@ -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,