summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_advanced_notifications.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-04-21 00:41:54 -0500
committerChris Buechler <cmb@pfsense.org>2016-04-21 00:41:54 -0500
commit954594393db78968821ecf08aa330aaddbb47db1 (patch)
tree777bd44c33bcfb547f6a8d441a6fbbc5fc2fea18 /src/usr/local/www/system_advanced_notifications.php
parentd114f81bf8d93110aa59ed69378a5e09aedaaa1c (diff)
downloadpfsense-954594393db78968821ecf08aa330aaddbb47db1.zip
pfsense-954594393db78968821ecf08aa330aaddbb47db1.tar.gz
Password isn't required for growl. Ticket #6221
Diffstat (limited to 'src/usr/local/www/system_advanced_notifications.php')
-rw-r--r--src/usr/local/www/system_advanced_notifications.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/system_advanced_notifications.php b/src/usr/local/www/system_advanced_notifications.php
index 439c4c1..6f82b44 100644
--- a/src/usr/local/www/system_advanced_notifications.php
+++ b/src/usr/local/www/system_advanced_notifications.php
@@ -196,8 +196,7 @@ if ($_POST) {
if (isset($_POST['test-growl'])) {
// Send test message via growl
- if ($config['notifications']['growl']['ipaddress'] &&
- $config['notifications']['growl']['password'] = $_POST['password']) {
+ if (isset($config['notifications']['growl']['ipaddress'])) {
unlink_if_exists($g['vardb_path'] . "/growlnotices_lastmsg.txt");
register_via_growl();
notify_via_growl(sprintf(gettext("This is a test message from %s. It is safe to ignore this message."), $g['product_name']), true);
OpenPOWER on IntegriCloud