diff options
author | jim-p <jimp@pfsense.org> | 2016-07-14 12:53:31 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-07-14 12:54:02 -0400 |
commit | 6647723aef59f5611c11a38bad8226900aa26d57 (patch) | |
tree | f9ee7c96bd0fac22588dc907008967bd4f3ff5ec | |
parent | d7a47d997eea6e56f668c53d31fe910f10c20e1e (diff) | |
download | FreeBSD-ports-6647723aef59f5611c11a38bad8226900aa26d57.zip FreeBSD-ports-6647723aef59f5611c11a38bad8226900aa26d57.tar.gz |
Fix ntopng admin password handling.
-rw-r--r-- | net/pfSense-pkg-ntopng/Makefile | 3 | ||||
-rw-r--r-- | net/pfSense-pkg-ntopng/files/usr/local/pkg/ntopng.inc | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/net/pfSense-pkg-ntopng/Makefile b/net/pfSense-pkg-ntopng/Makefile index 307667f..3ff44c3 100644 --- a/net/pfSense-pkg-ntopng/Makefile +++ b/net/pfSense-pkg-ntopng/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= pfSense-pkg-ntopng -PORTVERSION= 0.8.3 -PORTREVISION= 3 +PORTVERSION= 0.8.4 CATEGORIES= net MASTER_SITES= # empty DISTFILES= # empty diff --git a/net/pfSense-pkg-ntopng/files/usr/local/pkg/ntopng.inc b/net/pfSense-pkg-ntopng/files/usr/local/pkg/ntopng.inc index 1b652af..4e40590 100644 --- a/net/pfSense-pkg-ntopng/files/usr/local/pkg/ntopng.inc +++ b/net/pfSense-pkg-ntopng/files/usr/local/pkg/ntopng.inc @@ -189,7 +189,7 @@ function ntopng_set_redis_password() { if (!empty($ntopng_config['redis_password'])) { $password = md5($ntopng_config['redis_password']); if (ntopng_redis_started()) { - mwexec("{$redis_path}/redis-cli SET user.admin.password " . escapeshellarg($password)); + mwexec("{$redis_path}/redis-cli SET ntopng.user.admin.password " . escapeshellarg($password)); mwexec("{$redis_path}/redis-cli save"); } else { log_error(gettext("[ntopng] Cannot set admin password - redis-server is not running.")); |