mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-18 11:14:57 +02:00
fix: rm console
This commit is contained in:
parent
5f3f5fd81d
commit
c87d356b77
@ -52,8 +52,6 @@ const apiAccessMiddleware = (
|
|||||||
? req.header('x-unleash-auth')
|
? req.header('x-unleash-auth')
|
||||||
: req.header('authorization');
|
: req.header('authorization');
|
||||||
|
|
||||||
console.log('TOKEN', apiToken, req.headers);
|
|
||||||
|
|
||||||
if (!apiToken?.startsWith('user:')) {
|
if (!apiToken?.startsWith('user:')) {
|
||||||
const apiUser = apiToken
|
const apiUser = apiToken
|
||||||
? apiTokenService.getUserForToken(apiToken)
|
? apiTokenService.getUserForToken(apiToken)
|
||||||
|
Loading…
Reference in New Issue
Block a user