#6434 - SignIn issue_improve-signInLogMethod #1848

Closed
jsegarra wants to merge 65 commits from 6434-improve-signInLog into test
1 changed files with 1 additions and 1 deletions
Showing only changes of commit cbcc2ba17c - Show all commits

View File

@ -139,7 +139,7 @@ module.exports = function(Self) {
} }
}; };
Self.validateLogin = async function(user, password, ctx = null) { Self.validateLogin = async function(user, password, ctx) {
jsegarra marked this conversation as resolved Outdated
Outdated
Review

Pq el = null? sino el pases seria undefined que tame te val no?

Pq el = null? sino el pases seria undefined que tame te val no?
const loginInfo = Object.assign({password}, Self.userUses(user)); const loginInfo = Object.assign({password}, Self.userUses(user));
const token = await Self.login(loginInfo, 'user'); const token = await Self.login(loginInfo, 'user');