fix(ldap): Adjust logger level for authentication failures
This commit is contained in:
parent
17e6703ba2
commit
e57d796df5
|
@ -52,7 +52,7 @@ authenticate(
|
||||||
{ok, #{result := ok}} ->
|
{ok, #{result := ok}} ->
|
||||||
{ok, #{is_superuser => false}};
|
{ok, #{is_superuser => false}};
|
||||||
{ok, #{result := 'invalidCredentials'}} ->
|
{ok, #{result := 'invalidCredentials'}} ->
|
||||||
?TRACE_AUTHN_PROVIDER(error, "ldap_bind_failed", #{
|
?TRACE_AUTHN_PROVIDER(info, "ldap_bind_failed", #{
|
||||||
resource => ResourceId,
|
resource => ResourceId,
|
||||||
reason => 'invalidCredentials'
|
reason => 'invalidCredentials'
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue