From 83fee3ad5545e3902519cf7cc0fb44d56e881f22 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Mon, 18 Jul 2011 13:14:19 +0200 Subject: login fuer ipxe --- application/modules/ipxe/controllers/AuthController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'application/modules/ipxe/controllers/AuthController.php') diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php index 12a897b..ba06456 100644 --- a/application/modules/ipxe/controllers/AuthController.php +++ b/application/modules/ipxe/controllers/AuthController.php @@ -69,8 +69,9 @@ class Ipxe_AuthController extends Zend_Controller_Action $result = "#!ipxe\n"; $result .= "imgfree\n"; - - $result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenu/alpha/".$session->getAlphasessionID()." http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID(); + $result .= "login\n"; + + $result .= "chain http://\${username:uristring}:\${password:uristring}@".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenu/alpha/".$session->getAlphasessionID()." http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID(); header("Content-Length: ".(strlen($result))); -- cgit v1.2.3-55-g7522