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:42:53 -0500
commit8e53c29844ddae1694ccc120565db68dc7868686 (patch)
tree55665c7545a2373e8251427a236ad68468da1522 /src/usr/local/www/system_advanced_notifications.php
parentbf8b678722b930b6746c4a21d1b87021b43b1b8e (diff)
downloadpfsense-8e53c29844ddae1694ccc120565db68dc7868686.zip
pfsense-8e53c29844ddae1694ccc120565db68dc7868686.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