mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-22 18:58:54 +00:00
fix(pwd): use the proper url for reset password mail
This commit is contained in:
1 parent
3f4f949664
commit
382118a93b
1 file changed
+3
-2
@@ -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];
|
||||
|
||||
|
||||
Reference in new issue
Block a user