From daa7ef3fd069c052b2212add2c0ec561d3b5f70d Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Fri, 23 Sep 2022 14:06:32 -0400 Subject: [PATCH] no log: fixed logout API endpoint --- bazarr/api/system/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/api/system/account.py b/bazarr/api/system/account.py index 2e2a975e5..70ad5dbaa 100644 --- a/bazarr/api/system/account.py +++ b/bazarr/api/system/account.py @@ -25,7 +25,7 @@ class SystemAccount(Resource): @api_ns_system_account.response(404, 'Unknown authentication type define in config.ini') def post(self): """Login or logout from Bazarr UI when using form login""" - args = self.patch_request_parser.parse_args() + args = self.post_request_parser.parse_args() if settings.auth.type != 'form': return 'Unknown authentication type define in config.ini', 404