mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 22:57:12 +01:00
Added type check for id
This commit is contained in:
parent
37ae0374d8
commit
d966668257
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue