fix: return user
This commit is contained in:
parent
0efcd35d65
commit
2f0a538033
|
@ -358,7 +358,7 @@ func (s AccountServiceDefault) ValidLoginByEmail(email string, password string)
|
|||
return false, nil, nil
|
||||
}
|
||||
|
||||
return true, nil, nil
|
||||
return true, &user, nil
|
||||
}
|
||||
|
||||
func (s AccountServiceDefault) ValidLoginByUserID(id uint, password string) (bool, *models.User, error) {
|
||||
|
|
Loading…
Reference in New Issue