summaryrefslogtreecommitdiffstats
path: root/etc/inc/openvpn.auth-user.php
diff options
context:
space:
mode:
authorMatthew Grooms <mgrooms@pfsense.org>2008-10-06 18:25:58 +0000
committerMatthew Grooms <mgrooms@pfsense.org>2008-10-06 18:25:58 +0000
commit1f5309a3a53a7c3635422ea85930fce68bfa5110 (patch)
tree0db4b9ff012f8c3d4c462f27bf93431ba6589983 /etc/inc/openvpn.auth-user.php
parent723e16b89c0096d4381f03f0127baea394efddfc (diff)
downloadpfsense-1f5309a3a53a7c3635422ea85930fce68bfa5110.zip
pfsense-1f5309a3a53a7c3635422ea85930fce68bfa5110.tar.gz
Use the correct syslog LOG_ERR constant and make this file executable.
Diffstat (limited to 'etc/inc/openvpn.auth-user.php')
-rwxr-xr-xetc/inc/openvpn.auth-user.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/openvpn.auth-user.php b/etc/inc/openvpn.auth-user.php
index 275f54d..675677c 100755
--- a/etc/inc/openvpn.auth-user.php
+++ b/etc/inc/openvpn.auth-user.php
@@ -27,6 +27,8 @@
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
+
+ DISABLE_PHP_LINT_CHECKING
*/
/*
@@ -53,7 +55,7 @@ $username = getenv("username");
$password = getenv("password");
if (!$username || !$password) {
- syslog(LOG_ERROR, "invalid user authentication environment");
+ syslog(LOG_ERR, "invalid user authentication environment");
exit(-1);
}
OpenPOWER on IntegriCloud