also check for empty

pull/14/head
Up 4 months ago
parent c17c583321
commit f31f130c14
No known key found for this signature in database
GPG Key ID: 3B75CD7439FEB388

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

Loading…
Cancel
Save