refs #6434 feat: improve signIn method #1867
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#1867
Loading…
Reference in New Issue
No description provided.
Delete Branch "6434-signInLog_improve_test"
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 +1,15 @@
Normalment no habriem ficat 234802... pero bueno
@ -128,0 +127,4 @@
/**
* Sign-in validate. *
* @param {Integer} user The user
{string}
@ -131,0 +139,4 @@
token: token.id,
userFk: userToken.id,
ip: ctx.req.ip,
owner: isOwner
userName : user
@ -131,0 +142,4 @@
owner: isOwner
});
if (!isOwner) {
console.error('ERROR!!! - SignIn with other user', userToken, user);
quitar
@ -0,0 +8,4 @@
`userFk` int(10) unsigned DEFAULT NULL,
`creationDate` timestamp NULL DEFAULT current_timestamp(),
`ip` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
`owner` tinyint(1) DEFAULT 1,
añadir userName varchar(30) NOT NULL
New commits pushed, approval review dismissed automatically according to repository settings