Commit 521092ae authored by Kevin Duret's avatar Kevin Duret Committed by AssanDiomande
Browse files

fix(api): return 401 instead of 500 on login failed (#11007)

parent e7821afb
......@@ -31,7 +31,7 @@ use Centreon\Domain\Authentication\UseCase\LogoutRequest;
use Centreon\Domain\Authentication\UseCase\AuthenticateApi;
use Centreon\Domain\Authentication\UseCase\AuthenticateApiRequest;
use Centreon\Domain\Authentication\UseCase\AuthenticateApiResponse;
use Centreon\Domain\Authentication\Exception\AuthenticationException;
use Core\Domain\Security\Authentication\AuthenticationException;
use Security\Infrastructure\Authentication\API\Model_2110\ApiAuthenticationFactory;
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment