We need to get the username, password, workstation, etc. from the
credentials member of the config hash.
Also fix a typo on line 459 by deleting an extraneous -.
Signed-off-by: Jason Stephenson <jason@sigio.com>
my $seed = $U->simplereq(
'open-ils.auth',
'open-ils.auth.authenticate.init',
my $seed = $U->simplereq(
'open-ils.auth',
'open-ils.auth.authenticate.init',
- $self->{config}->{username}
+ $self->{config}->{credentials}->{username}
'open-ils.auth',
'open-ils.auth.authenticate.complete',
{
'open-ils.auth',
'open-ils.auth.authenticate.complete',
{
- username => $self->{config}->{username},
+ username => $self->{config}->{credentials}->{username},
- $seed . md5_hex($self->{config}->{password})
+ $seed . md5_hex($self->{config}->{credentials}->{password})
- workstation => $self->{config}->{workstation}
+ workstation => $self->{config}->{credentials}->{workstation}
my $result = $e->retrieve_config_bib_source($data->{cbs});
$cbs = $result if ($result);
} else {
my $result = $e->retrieve_config_bib_source($data->{cbs});
$cbs = $result if ($result);
} else {
- my $result = $e->search_config_bib_source({source => $data-});
+ my $result = $e->search_config_bib_source({source => $data});
if ($result && @$result) {
$cbs = $result->[0]; # Use the first one.
}
if ($result && @$result) {
$cbs = $result->[0]; # Use the first one.
}