1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-19 11:39:36 +02:00

Fixed bug with value parsing if custom icon was used

This commit is contained in:
Paweł Malak 2021-11-19 14:06:38 +01:00
parent c2e9f82cd6
commit d13b890e16
4 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
const jwt = require('jsonwebtoken');
const auth = (req, res, next) => {
const authHeader = req.header('Authorization_Flame');
const authHeader = req.header('Authorization-Flame');
let token;
let tokenIsValid = false;