mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-19 10:08:12 +00:00
feat(core): Add URL encryption for GDPR compliancy
This commit is contained in:
1 parent
ee9899fe3d
commit
31c6f78913
15 files changed
+299
-13
No files matched your search
@@ -102,7 +102,7 @@
|
||||
else if (typeof data.totpDisabled != 'undefined') {
|
||||
d.resolve({
|
||||
cn: data.cn,
|
||||
url: redirectUrl(username, domain),
|
||||
url: redirectUrl(data.username, domain),
|
||||
totpdisabled: 1
|
||||
});
|
||||
}
|
||||
@@ -124,12 +124,12 @@
|
||||
else {
|
||||
d.resolve({
|
||||
cn: data.cn,
|
||||
url: redirectUrl(username, domain)
|
||||
url: redirectUrl(data.username, domain)
|
||||
});
|
||||
}
|
||||
}
|
||||
else {
|
||||
d.resolve({ url: redirectUrl(username, domain) });
|
||||
d.resolve({ url: redirectUrl(data.username, domain) });
|
||||
}
|
||||
}
|
||||
}, function(error) {
|
||||
|
||||
Reference in new issue
Block a user