mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
add task manager
This commit is contained in:
@@ -88,6 +88,9 @@ class AuthInfo {
|
||||
_log.info(
|
||||
"Logged in as ${u.username} (${u.id}). isAdmin: ${u.isAdmin}. permissions: ${u.permissions}");
|
||||
await checkSessionInfo();
|
||||
if (canManageTasks == true) {
|
||||
await tasks.connect();
|
||||
}
|
||||
} else if (re.status == 401 || re.status == 1 || re.status == 404) {
|
||||
_user = null;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user