diff --git a/uni/lib/controller/networking/network_router.dart b/uni/lib/controller/networking/network_router.dart index 3ad482bd4..578b391df 100644 --- a/uni/lib/controller/networking/network_router.dart +++ b/uni/lib/controller/networking/network_router.dart @@ -141,8 +141,9 @@ class NetworkRouter { NavigationService.logout(); return Future.error('Login failed'); } - - session.cookies = newSession.cookies; + session + ..username = newSession.username + ..cookies = newSession.cookies; headers['cookie'] = session.cookies; return http.get(url.toUri(), headers: headers).timeout(timeout); } else {