summaryrefslogtreecommitdiff
path: root/www/horde/patches/patch-aa
blob: cc45b55748a0f6b762bb7de41a167b25f386fff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-aa,v 1.7 2008/05/26 12:52:51 adrianp Exp $

--- lib/Horde/Auth/login.php.orig	2008-05-25 20:54:42.000000000 +0100
+++ lib/Horde/Auth/login.php
@@ -85,7 +85,8 @@ class Auth_login extends Auth {
             return false;
         }
 
-        $proc = @popen($this->_location . ' -c /bin/true ' . $userId, 'w');
+        /* $proc = @popen($this->_location . ' -c /bin/true ' . $userId, 'w'); */
+	$proc = @popen($this->_location . ' ' . $userId . ' -c exit 0', 'w');
         if (!is_resource($proc)) {
             $this->_setAuthError(AUTH_REASON_FAILED);
             return false;