feat(core): Add URL encryption for GDPR compliancy

This commit is contained in:
smizrahi
2023-10-17 16:17:25 +02:00
parent ee9899fe3d
commit 31c6f78913
15 changed files with 299 additions and 13 deletions
@@ -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) {