mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 12:43:48 -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}
|
WHERE locale = ${req.config.locale}
|
||||||
AND edition = ${req.config.census.edition}
|
AND edition = ${req.config.census.edition}
|
||||||
AND fingerprint = ${fingerprint}
|
AND fingerprint = ${fingerprint}
|
||||||
|
AND userId IS NULL
|
||||||
`);
|
`);
|
||||||
if (byFingerprint) {
|
return !!byFingerprint;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const router = Router();
|
const router = Router();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user