Longer timeout, more tracking on login

This commit is contained in:
Eli Ribble 2026-05-12 18:37:59 +00:00
parent 03849e55f1
commit 7ba66997b4
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -212,6 +212,7 @@ func validatePassword(password, hash string) bool {
} }
func validateUser(ctx context.Context, username string, password string) (*platform.User, error) { func validateUser(ctx context.Context, username string, password string) (*platform.User, error) {
log.Info().Str("username", username).Msg("begin validateUser. Hashing...")
start := time.Now() start := time.Now()
passwordHash, err := HashPassword(password) passwordHash, err := HashPassword(password)
if err != nil { if err != nil {

View file

@ -9,7 +9,7 @@ class ApiClient {
constructor() { constructor() {
this.client = axios.create({ this.client = axios.create({
timeout: 10000, timeout: 30000,
withCredentials: true, withCredentials: true,
}); });