diff --git a/server.py b/server.py index 7697de4..df77087 100644 --- a/server.py +++ b/server.py @@ -32,6 +32,8 @@ class MyServer(BaseHTTPRequestHandler): igmirror.add_igaccount(accname) elif parts[1].lower() == 'update': igmirror.update_igaccount_async(accname) + elif parts[1].lower() == 'login': + igmirror.pixelfed_login(accname, True) elif parts[1].lower() == 'logout': igmirror.logout_account(accname) elif parts[1].lower() == 'nuke':