fix(pwd): use the proper url for reset password mail

This commit is contained in:
Hivert Quentin
2026-09-07 16:26:09 +02:00
parent 3f4f949664
commit 382118a93b
+3 -2
View File
@@ -1371,8 +1371,9 @@ static const NSString *kJwtKey = @"jwt";
// Send mail
mailer = [SOGoMailer mailerWithDomainDefaults: dd];
url = [NSString stringWithFormat:@"%@%@?token=%@"
, [[request headers] objectForKey:@"origin"]
url = [NSString stringWithFormat:@"%@/%@?token=%@"
, [[context serverURL] absoluteString]
, [request uri]
, jwtToken];