Pman/Login.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 16 Dec 2010 03:12:49 +0000 (11:12 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 16 Dec 2010 03:12:49 +0000 (11:12 +0800)
Pman/Login.php

index feb2e8f..d08cfaa 100644 (file)
@@ -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;
     }