Commit 67314fcc authored by jan.koester's avatar jan.koester
Browse files

test

parent c7d9890a
Loading
Loading
Loading
Loading
Loading
+4 −0
Changes for src/session.cpp: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -437,6 +437,10 @@ const fenrirds::SessionData *fenrirds::LocalSession::addSession(AuthBackend &bac
            cur->getDid(cur_did);
            if (cur_uid == userid && cur_did == domainid){
                cur->_accessed = std::chrono::steady_clock::now();
                /* A login reuses the session, which never expires while it is used:
                 * without a reload a group or GPO change made after the first login
                 * would never reach it (e.g. a user added to a relay group). */
                reloadSessionData(backend, cur);
                return cur;
            }
        }