mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Changed hash method again.
This commit is contained in:
parent
86966f46e5
commit
1678d9e1ab
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ export function hash(...args) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function secret() {
|
export function secret() {
|
||||||
return hash(process.env.DATABASE_URL, process.env.HASH_SALT);
|
return hash(process.env.HASH_SALT || process.env.DATABASE_URL);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function salt() {
|
export function salt() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue