also check for empty

master
Up 2024-05-15 06:47:06 +02:00
parent c17c583321
commit f31f130c14
No known key found for this signature in database
GPG Key ID: 3B75CD7439FEB388
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ func IsActiveSession(uuid []byte, clientSessionId string) (bool, error) {
return false, err return false, err
} }
return storedId == clientSessionId, nil return storedId == "" || storedId == clientSessionId, nil
} }
func UpdateActiveSession(uuid []byte, clientSessionId string) error { func UpdateActiveSession(uuid []byte, clientSessionId string) error {