]> code.citadel.org Git - citadel.git/blobdiff - ctdlphp/do_login.php
* Set up a style sheet (sitestyle.css) for the whole system. Thanks to
[citadel.git] / ctdlphp / do_login.php
index cc1429dedc506fc8a26ee1280f2d86f2e07c22af..cc15c791e8def7b0fb577ee205a65e6a4b438883 100644 (file)
@@ -6,19 +6,18 @@
 // 
 // Copyright (c) 2003 by Art Cancro <ajc@uncensored.citadel.org>
 // This program is released under the terms of the GNU General Public License.
-//
 
 include "ctdlheader.php";
 
 bbs_page_header();
 
-if ($_POST["action"] == "Login") {
+if ($_REQUEST["action"] == "Login") {
        list($retval, $msg) =
-               login_existing_user($_POST["user"], $_POST["pass"]);
+               login_existing_user($_REQUEST["user"], $_REQUEST["pass"]);
 }
-else if ($_POST["action"] == "New User") {
+else if ($_REQUEST["action"] == "New User") {
        list($retval, $msg) =
-               create_new_user($_POST["user"], $_POST["pass"]);
+               create_new_user($_REQUEST["user"], $_REQUEST["pass"]);
 }
 else {
        echo "uuuuhhhhhhhhh....<BR>\n" ;