diff --git a/db/account.go b/db/account.go index 47f24c2..23a1a6d 100644 --- a/db/account.go +++ b/db/account.go @@ -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 {