Changed HASH_SALT to APP_SECRET.
This commit is contained in:
1 parent
cad0b73e42
commit
7bbed0e12b
5 files changed
+11
-70
No files matched your search
+1
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user