@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | -if($password != "" && isset($_POST['auth_submit'])){ |
|
| 3 | - if($password != $_POST['password']){ |
|
| 2 | +if ($password != "" && isset($_POST['auth_submit'])) { |
|
| 3 | + if ($password != $_POST['password']) { |
|
| 4 | 4 | ?> |
| 5 | 5 | <b>wrong password</b>, try again. |
| 6 | 6 | <?php |
| 7 | - } else{ |
|
| 7 | + }else { |
|
| 8 | 8 | $_SESSION['logged_in'] = true; |
| 9 | 9 | echo 'logged in!'; |
| 10 | 10 | header("refresh:0;"); |