diff --git a/lib/Horde/Auth/Login.php b/lib/Horde/Auth/Login.php index 636c6e8..e890751 100644 --- a/lib/Horde/Auth/Login.php +++ b/lib/Horde/Auth/Login.php @@ -71,7 +71,7 @@ protected function _authenticate($userId, $credentials) throw new Horde_Auth_Exception('', Horde_Auth::REASON_BADLOGIN); } - $proc = @popen($this->_location . ' -c /bin/true ' . $userId, 'w'); + $proc = @popen($this->_params['location'] . ' -c /bin/true ' . $userId, 'w'); if (!is_resource($proc)) { throw new Horde_Auth_Exception('', Horde_Auth::REASON_FAILED); }