feat(core): Add URL encryption for GDPR compliancy

This commit is contained in:
smizrahi
2024-01-09 11:01:17 +01:00
parent 26b14671f5
commit 930a06e520
2 changed files with 9 additions and 3 deletions
+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