also check for empty
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user