5554-renovar_token #1566
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#1566
Loading…
Reference in New Issue
No description provided.
Delete Branch "5554-renovar_token"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +22,4 @@
const differenceMilliseconds = now - created;
const differenceSeconds = Math.floor(differenceMilliseconds / 1000);
const accessTokenConfig = await models.AccessTokenConfig.findOne();
Especificar fields siempre que se haga un select, de lo contrario se seleccionan todas las columnas.
@ -0,0 +30,4 @@
message: 'Token is active',
}
};
return response;
Devolver un 'UserError' si todavía no se ha pasado el tiempo de renovación.
@ -0,0 +5,4 @@
*
* @property {String} created The current login created or %null
*/
export default class created {
En lugar de crear un nuevo servicio, utilizar el servicio
vnToken
.@ -33,0 +37,4 @@
const firtsResult = json.data[0];
if (!firtsResult) return;
window.localStorage.renewPeriod = firtsResult.renewPeriod;
window.localStorage.renewInterval = firtsResult.renewInterval;
No guardar
renewPeriod
yrenewInterval
enlocalStorage
, guardarlos enthis