also check for empty

This commit is contained in:
Up committed 2024-05-15 06:47:06 +02:00
1 parent c17c583321
commit f31f130c14
1 file changed
+1 -1
+1 -1
View File
@@ -224,7 +224,7 @@ func IsActiveSession(uuid []byte, clientSessionId string) (bool, error) {
return false, err
}
return storedId == clientSessionId, nil
return storedId == "" || storedId == clientSessionId, nil
}
func UpdateActiveSession(uuid []byte, clientSessionId string) error {