also check for empty
parent
c17c583321
commit
f31f130c14
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue