diff --git a/auth/auth.go b/auth/auth.go index 7df1b313..18dd4ebb 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -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 { diff --git a/ts/client.ts b/ts/client.ts index 87cb10e2..9d1276c7 100644 --- a/ts/client.ts +++ b/ts/client.ts @@ -9,7 +9,7 @@ class ApiClient { constructor() { this.client = axios.create({ - timeout: 10000, + timeout: 30000, withCredentials: true, });