mirror of
https://github.com/kremalicious/umami.git
synced 2025-01-11 13:44:01 +01:00
Changed hash method again.
This commit is contained in:
parent
86966f46e5
commit
1678d9e1ab
@ -14,7 +14,7 @@ export function hash(...args) {
|
||||
}
|
||||
|
||||
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user