Permalink
Browse files

fixed typos

  • Loading branch information...
1 parent d4d3f0d commit 49a4c52e2bafd07ae0d51f221727ac8ad48cadd7 @Mutate Mutate committed Mar 13, 2012
Showing with 5 additions and 4 deletions.
  1. +3 −2 php/authorize.php
  2. +2 −2 php/checkUser.php
View
5 php/authorize.php
@@ -14,9 +14,10 @@
$_SESSION['username'] = $username;
$_SESSION['password'] = $password;
$_SESSION['loggedIn'] = true;
- header("Location:../index.php");
+ header("Location:../index.php");
+
} else {
echo 'Login Failed';
}
-?>
+?>
View
4 php/checkUser.php
@@ -7,7 +7,7 @@ class CheckUser {
function __construct($username, $password) {
$this->username = $username;
- $this->password = $passwword;
+ $this->password = $password;
}
function authenticate () {
@@ -27,4 +27,4 @@ function authenticate () {
return $getLogin;
}
}
-?>
+?>

0 comments on commit 49a4c52

Please sign in to comment.