Commit 13d09957 authored by jan.koester's avatar jan.koester
Browse files

fixed

parent 05e9caf2
Loading
Loading
Loading
Loading
Loading
+2 −2
Changes for src/session.cpp: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -246,13 +246,13 @@ const authdb::SessionData *authdb::Session::addSession(AuthBackend &backend,uuid
            gpores->GPOId=cur.uuid;
            gpores->GPORes=gpodat.getGpoValue();

            for(const uuid &member : _lastData->_members){

            GpoData::Allow allow;
            gpodat.getAlowed(allow);
            std::cout << gpodat.getName() << std::endl;
            std::cout << allow.count << std::endl;
                std::cout.write((char*)member.value,16) << std::endl;
            for(size_t i =0; i< allow.count; ++i){
                for(const uuid &member : _lastData->_members){
                    if(member==allow.uid[i]){
                        gpores->GPORes=gpores->GPORes ? false : true;
                    }