an absolute slew of changes.
This commit is contained in:
parent
9499e17cfd
commit
e33c7bebc3
22 changed files with 80 additions and 68 deletions
|
|
@ -416,7 +416,9 @@ sub new {
|
|||
my $userId = $_[1];
|
||||
my @callable = ('createAccount','deactivateAccount','displayAccount','displayLogin','login','logout','createAccountSave','deactivateAccountConfirm');
|
||||
my $self = WebGUI::Auth->new($session,$authMethod,$userId,\@callable);
|
||||
$self->{_connection} = WebGUI::LDAPLink->new($session,($session->scratch->get("ldapConnection") || $session->setting->get("ldapConnection")))->get;
|
||||
my $connection = $session->scratch->get("ldapConnection") || $session->setting->get("ldapConnection");
|
||||
my $ldaplink = WebGUI::LDAPLink->new($session,$connection);
|
||||
$self->{_connection} = $ldaplink->get;
|
||||
my $i18n = WebGUI::International->new($session, "AuthLDAP");
|
||||
my %ldapStatusCode = map { $_ => $i18n->get("LDAPLink_".$_) }
|
||||
(0..21, 32,33,34,36, 48..54, 64..71, 80);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue