Added redis check to verify.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user