Fix Auth token
This commit is contained in:
@@ -36,7 +36,7 @@ function isTokenValid(token) {
|
||||
var data = null;
|
||||
|
||||
try {
|
||||
jwt.decode(token, config.tokenSalt);
|
||||
data = jwt.decode(token, config.tokenSalt);
|
||||
} catch(err) {
|
||||
debug('Error while decoding token');
|
||||
debug(err);
|
||||
|
||||
Reference in New Issue
Block a user