Added API function to force login of account
This commit is contained in:
parent
ccbf23891b
commit
469990388a
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue