se agregó expiración
This commit is contained in:
@@ -110,13 +110,14 @@ export class QrTokenService {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
id_participante: decoded.id_participante,
|
id_participante: decoded.id_participante,
|
||||||
id_evento: decoded.id_evento,
|
id_evento: decoded.id_evento,
|
||||||
id_cuestionario: decoded.id_cuestionario,
|
id_cuestionario: decoded.id_cuestionario,
|
||||||
type: decoded.type,
|
type: decoded.type,
|
||||||
iat: decoded.iat,
|
iat: decoded.iat,
|
||||||
};
|
exp: decoded.exp,
|
||||||
|
};
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error validando token QR:', error.message);
|
console.error('Error validando token QR:', error.message);
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user