From 21a833a3eb462063255d3f4cb69d92f078c24bc3 Mon Sep 17 00:00:00 2001 From: Elyrith Date: Fri, 9 Aug 2013 23:38:42 -0400 Subject: [PATCH] Login working, but not cookie. --- includes/login_form.inc | 2 +- user/login.php | 32 -------------------------------- user/login_form.inc | 16 ---------------- user/new.php | 1 + 4 files changed, 2 insertions(+), 49 deletions(-) delete mode 100644 user/login.php delete mode 100644 user/login_form.inc diff --git a/includes/login_form.inc b/includes/login_form.inc index a0c8427..77103c4 100644 --- a/includes/login_form.inc +++ b/includes/login_form.inc @@ -1,4 +1,4 @@ -
+ diff --git a/user/login.php b/user/login.php deleted file mode 100644 index c5993a9..0000000 --- a/user/login.php +++ /dev/null @@ -1,32 +0,0 @@ - - -Login - -You are a valid user!
"; - echo "Your username is $_POST[username]
"; - echo "Your password is $_POST[password]

"; - include("login_form.inc"); - } else { - unset($_POST['do']); - echo "

You are not authorized. Please try again.

"; - include("login_form.inc"); - } - - break; -} else { - include("login_form.inc"); -} -?> - - diff --git a/user/login_form.inc b/user/login_form.inc deleted file mode 100644 index a0c8427..0000000 --- a/user/login_form.inc +++ /dev/null @@ -1,16 +0,0 @@ - - - -
- - - - - - - - - - - -
Username
Password
diff --git a/user/new.php b/user/new.php index e07f446..54f8c3c 100644 --- a/user/new.php +++ b/user/new.php @@ -1,6 +1,7 @@

Create new post