mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 11:17:08 +00:00
Log warning
This commit is contained in:
@@ -10,6 +10,10 @@ function start (server, pingInterval=30000) {
|
||||
wsServer.on('connection', socket => {
|
||||
|
||||
function scheduleJwtRefresh (token) {
|
||||
if (!token) {
|
||||
console.warn("No token to refresh!");
|
||||
return;
|
||||
}
|
||||
const decoded = jwt.decode(token);
|
||||
console.log("scheduleJwtRefresh for token", token);
|
||||
console.log("decoded as", decoded);
|
||||
|
||||
Reference in New Issue
Block a user