Longer timeout, more tracking on login
This commit is contained in:
parent
03849e55f1
commit
7ba66997b4
2 changed files with 2 additions and 1 deletions
|
|
@ -212,6 +212,7 @@ func validatePassword(password, hash string) bool {
|
|||
}
|
||||
|
||||
func validateUser(ctx context.Context, username string, password string) (*platform.User, error) {
|
||||
log.Info().Str("username", username).Msg("begin validateUser. Hashing...")
|
||||
start := time.Now()
|
||||
passwordHash, err := HashPassword(password)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue