mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-07 11:29:43 +00:00
feat(core): Add URL encryption for GDPR compliancy (fix some dav issues)
This commit is contained in:
@@ -32,9 +32,11 @@
|
||||
acquire: (BOOL) acquire
|
||||
{
|
||||
id userFolder;
|
||||
NSString *login;
|
||||
|
||||
if ([key length] > 0 && [SOGoUser userWithLogin: key roles: nil])
|
||||
userFolder = [SOGoUserFolder objectWithName: key inContainer: self];
|
||||
login = [SOGoUser getDecryptedUsernameIfNeeded: key withContext: localContext];
|
||||
if ([key length] > 0 && [SOGoUser userWithLogin: login roles: nil])
|
||||
userFolder = [SOGoUserFolder objectWithName: login inContainer: self];
|
||||
else
|
||||
userFolder = nil;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user