Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
e98e508a
Commit
e98e508a
authored
Oct 27, 2016
by
Francesc Guasch
Browse files
code doc for LDAP support
parent
46afa3aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada/Auth.pm
View file @
e98e508a
...
...
@@ -55,6 +55,16 @@ sub login {
return
Ravada::Auth::
SQL
->
new
(
name
=>
$name
,
password
=>
$pass
);
}
=head2 LDAP
Sets or get LDAP support.
Ravada::Auth::LDAP(0);
print "LDAP is supported" if Ravada::Auth::LDAP();
=cut
sub
LDAP
{
my
$value
=
shift
;
return
$LDAP
if
!
defined
$value
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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