Added redis check to verify.

This commit is contained in:
Mike Cao committed 2022-11-08 12:28:45 -08:00
1 parent 13fd3ccd16
commit 208fcb8418
4 files changed
+20 -13

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ import { secret } from 'lib/crypto';
const log = debug('umami:auth');
export function generateAuthToken() {
return getRandomChars(32);
return `auth:${getRandomChars(32)}`;
}
export function getAuthToken(req) {