We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 243e378 commit db96401Copy full SHA for db96401
lib/pf/UnifiedApi/Controller/Config/Bases.pm
@@ -34,6 +34,7 @@ use pf::error qw(is_error);
34
use pf::ConfigStore::Pf;
35
use pf::ConfigStore::Network;
36
use pfappserver::Model::Config::Pfconfig;
37
+use pf::config::crypt;
38
use pf::config qw(
39
%Config
40
%Doc_Config
@@ -282,6 +283,7 @@ sub test_smtp {
282
283
}
284
285
my $alerting_config = $form->value;
286
+ $alerting_config->{smtp_password} = pf::config::crypt::pf_decrypt($alerting_config->{smtp_password});
287
my $email = $json->{'test_emailaddr'} || $alerting_config->{emailaddr};
288
my $msg = MIME::Lite->new(
289
To => $email,
0 commit comments