mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-19 11:39:36 +02:00
Changed auth header
This commit is contained in:
parent
1220c56fc5
commit
e13f6f2612
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
const jwt = require('jsonwebtoken');
|
||||
|
||||
const auth = (req, res, next) => {
|
||||
const authHeader = req.header('Authorization');
|
||||
const authHeader = req.header('Authorization_Flame');
|
||||
let token;
|
||||
let tokenIsValid = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue