Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
8a89a997
Commit
8a89a997
authored
Dec 23, 2020
by
frankiejol
Browse files
fix(auth): continue with match if bind failed
issue #1465
parent
b95ffc56
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada/Auth/LDAP.pm
View file @
8a89a997
...
...
@@ -440,7 +440,8 @@ sub _login_bind {
for
my
$user
(
@user
)
{
my
$dn
=
$user
->
dn
;
$found
++
;
my
$ldap
=
_connect_ldap
(
$dn
,
$password
);
my
$ldap
;
eval
{
$ldap
=
_connect_ldap
(
$dn
,
$password
)
};
if
(
$ldap
)
{
$self
->
{
_auth
}
=
'
bind
';
$self
->
{
_ldap_entry
}
=
$user
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment