fix: return user

This commit is contained in:
Derrick Hammer 2024-03-13 14:09:17 -04:00
parent 0efcd35d65
commit 2f0a538033
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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) {