no log: fixed logout API endpoint

pull/1958/head
morpheus65535 2 years ago
parent e7d22687a0
commit daa7ef3fd0

@ -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

Loading…
Cancel
Save