From 382118a93b6925de2ce7f774abc1865ebea2dbba Mon Sep 17 00:00:00 2001 From: Hivert Quentin Date: Mon, 7 Sep 2026 16:26:09 +0200 Subject: [PATCH] fix(pwd): use the proper url for reset password mail --- UI/MainUI/SOGoRootPage.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/UI/MainUI/SOGoRootPage.m b/UI/MainUI/SOGoRootPage.m index f5f0eeecd..90b392acf 100644 --- a/UI/MainUI/SOGoRootPage.m +++ b/UI/MainUI/SOGoRootPage.m @@ -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];