fix tools
This commit is contained in:
parent
4a05cbb544
commit
1cacbbc08f
|
@ -499,11 +499,17 @@ sub credential_store_get_key($$$) {
|
|||
my ($pa_config, $dbh, $identifier) = @_;
|
||||
|
||||
my $sql = 'SELECT * FROM tcredential_store WHERE identifier = ?';
|
||||
my $key = get_db_single_row($dbh, $sql, $identifier);
|
||||
my $key = PandoraFMS::DB::get_db_single_row($dbh, $sql, $identifier);
|
||||
|
||||
return {
|
||||
'username' => pandora_output_password($pa_config, $key->{'username'}),
|
||||
'password' => pandora_output_password($pa_config, $key->{'password'}),
|
||||
'username' => PandoraFMS::Core::pandora_output_password(
|
||||
$pa_config,
|
||||
$key->{'username'}
|
||||
),
|
||||
'password' => PandoraFMS::Core::pandora_output_password(
|
||||
$pa_config,
|
||||
$key->{'password'}
|
||||
),
|
||||
'extra_1' => $key->{'extra_1'},
|
||||
'extra_2' => $key->{'extra_2'},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue