mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 22:57:12 +01:00
Added missing salt.
This commit is contained in:
parent
140cac046b
commit
f175534f51
3 changed files with 6 additions and 6 deletions
|
|
@ -15,7 +15,7 @@ export function salt() {
|
|||
export function uuid(...args) {
|
||||
if (!args.length) return v4();
|
||||
|
||||
return v5(hash(...args), v5.DNS);
|
||||
return v5(hash(...args, salt()), v5.DNS);
|
||||
}
|
||||
|
||||
export function isUuid(value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue