Added type check for id

This commit is contained in:
perso182 2025-04-01 16:56:17 +02:00
parent 37ae0374d8
commit d966668257

View file

@ -249,7 +249,7 @@
};
const identify = (data, id = undefined) => {
if (id) {
if (id && typeof id === 'string') {
identity = id;
}
/* Clear cache since this will result in another session */