Commit ad10dc53 authored by Clément OUDOT's avatar Clément OUDOT

Use ldapAuthnLevel and dbiAuthnLevel in portal (#1648)

parent 6cb58759
......@@ -17,6 +17,14 @@ sub init {
and $self->Lemonldap::NG::Portal::Lib::DBI::init );
}
has authnLevel => (
is => 'rw',
lazy => 1,
default => sub {
$_[0]->conf->{dbiAuthnLevel};
}
);
# RUNNING METHODS
sub authenticate {
......
......@@ -17,6 +17,14 @@ sub init {
and $self->Lemonldap::NG::Portal::Lib::LDAP::init );
}
has authnLevel => (
is => 'rw',
lazy => 1,
default => sub {
$_[0]->conf->{ldapAuthnLevel};
}
);
# RUNNING METHODS
sub authenticate {
......
Markdown is supported
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