Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed typos

  • Loading branch information...
commit 49a4c52e2bafd07ae0d51f221727ac8ad48cadd7 1 parent d4d3f0d
Mutate Mutate authored
Showing with 5 additions and 4 deletions.
  1. +3 −2 php/authorize.php
  2. +2 −2 php/checkUser.php
5 php/authorize.php
View
@@ -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';
}
-?>
+?>
4 php/checkUser.php
View
@@ -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;
}
}
-?>
+?>
Please sign in to comment.
Something went wrong with that request. Please try again.