feat(core): Add URL encryption for GDPR compliancy

This commit is contained in:
smizrahi committed 2024-01-09 11:01:17 +01:00
1 parent 26b14671f5
commit 930a06e520
2 files changed
+9 -3

No files matched your search

+3 -1
View File
@@ -788,8 +788,10 @@ static const NSString *kJwtKey = @"jwt";
[us disableForceResetPassword];
}
}
response = [self responseWithStatus: 200 andJSONRepresentation:
[NSDictionary dictionaryWithObjectsAndKeys: [SOGoUser getEncryptedUsernameIfNeeded:username], @"username", nil]];
response = [self responseWith204];
if (!passwordRecovery) {
authCookie = [auth cookieWithUsername: username
andPassword: newPassword