mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-15 11:17:49 +08:00
no log: fixed logout API endpoint
This commit is contained in:
parent
e7d22687a0
commit
daa7ef3fd0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue