mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 12:03:25 -04:00
[census] don't compare fingerprints between loggen in and anonymous users
This commit is contained in:
parent
0a299d8236
commit
44ba94d59e
@ -26,12 +26,9 @@ const hasFinished = async req => {
|
||||
WHERE locale = ${req.config.locale}
|
||||
AND edition = ${req.config.census.edition}
|
||||
AND fingerprint = ${fingerprint}
|
||||
AND userId IS NULL
|
||||
`);
|
||||
if (byFingerprint) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return !!byFingerprint;
|
||||
}
|
||||
|
||||
const router = Router();
|
||||
|
Loading…
x
Reference in New Issue
Block a user