summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authormichael pereira2011-07-18 14:37:45 +0200
committermichael pereira2011-07-18 14:37:45 +0200
commit67ecbdee034f5656bc56a8e9387cf8324b61acb2 (patch)
tree96f80bd4f12317d40d1e8c6ac29f10856a68d838 /application
parentlogin test (diff)
downloadpbs2-67ecbdee034f5656bc56a8e9387cf8324b61acb2.tar.gz
pbs2-67ecbdee034f5656bc56a8e9387cf8324b61acb2.tar.xz
pbs2-67ecbdee034f5656bc56a8e9387cf8324b61acb2.zip
login test
Diffstat (limited to 'application')
-rw-r--r--application/modules/ipxe/controllers/AuthController.php2
-rw-r--r--application/modules/ipxe/views/scripts/resource/getvesamenu.phtml3
2 files changed, 3 insertions, 2 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php
index ba06456..0492339 100644
--- a/application/modules/ipxe/controllers/AuthController.php
+++ b/application/modules/ipxe/controllers/AuthController.php
@@ -71,7 +71,7 @@ class Ipxe_AuthController extends Zend_Controller_Action
$result .= "imgfree\n";
$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();
+ $result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenu/alpha/".$session->getAlphasessionID()." http://\${username:uristring}:\${password:uristring}@".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID();
header("Content-Length: ".(strlen($result)));
diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
index b108c00..0e00f9c 100644
--- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
+++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml
@@ -53,6 +53,7 @@
global $password;
switch ( "$username:$password" ) {
+ case "test:test":
case "guest:guest":
return 1;
default:
@@ -102,7 +103,7 @@ MENU MSGCOLOR #ff1c2a33 #00000000 none
<?
if(!isset($this->error))
- title ( $username + " " + $password );
+ title ( $this->title );
else
title($this->error);