Commit 7eaefcff authored by jan.koester's avatar jan.koester
Browse files

test

parent ab106210
Loading
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -502,7 +502,13 @@ const authdb::SessionData *authdb::ClusterSession::getSession(uuid::uuid session
        imported->_username = username;
        imported->setGPOResults(gpo_results);
        std::lock_guard<std::mutex> guard(_lock);
        removeLocal(sessionid);
        
        SessionData *local = findLocal(sessionid);
        if (local) {
            delete imported;
            return local;
        }
        
        appendLocal(imported);
        return imported;
    }