certtools / intelmq-api

FastAPI-based API for the IntelMQ project
https://docs.intelmq.org/latest/user/api/
1 stars 7 forks source link

Misleading error message on login if no login is required #35

Closed ghost closed 3 years ago

ghost commented 3 years ago

https://github.com/certtools/intelmq-api/blob/9f8513bb0268144b62522e67bee3c290eb6eac8a/intelmq_api/api.py#L188-L195

If session_store is None, the error message is Invalid username and/or password