mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Changed HASH_SALT to APP_SECRET.
This commit is contained in:
parent
cad0b73e42
commit
7bbed0e12b
5 changed files with 11 additions and 70 deletions
|
|
@ -3,7 +3,7 @@ import { startOfMonth } from 'date-fns';
|
|||
import { hash } from 'next-basics';
|
||||
|
||||
export function secret() {
|
||||
return hash(process.env.HASH_SALT || process.env.DATABASE_URL);
|
||||
return hash(process.env.APP_SECRET || process.env.DATABASE_URL);
|
||||
}
|
||||
|
||||
export function salt() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue