From: Alan Knowles Date: Thu, 16 Dec 2010 03:12:49 +0000 (+0800) Subject: Pman/Login.php X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=8fa0a98281eafd44b14d2cc5d86a65b5bb7e09ea Pman/Login.php --- diff --git a/Pman/Login.php b/Pman/Login.php index feb2e8f..d08cfaa 100644 --- a/Pman/Login.php +++ b/Pman/Login.php @@ -71,6 +71,11 @@ class Pman_Login extends Pman if (!empty($_REQUEST['username'])) { $this->post(); } + if (!empty($_REQUEST['switch'])) { + $this->switchUser($_REQUEST['switch']); + } + + $this->jerr("INVALID REQUEST"); exit; }