feat(core): Add URL encryption for GDPR compliancy

This commit is contained in:
smizrahi committed 2023-10-17 16:17:25 +02:00
1 parent ee9899fe3d
commit 31c6f78913
15 files changed
+299 -13

No files matched your search

+2
View File
@@ -343,6 +343,8 @@ static const NSString *kJwtKey = @"jwt";
forKey: @"expire"];
[json setObject: [NSNumber numberWithInt: grace]
forKey: @"grace"];
[json setObject: [SOGoUser getEncryptedUsernameIfNeeded: username withContext: context]
forKey: @"username"];
response = [self responseWithStatus: 200
andJSONRepresentation: json];