fixed another stoopid error

master
BodgeMaster 2020-02-20 21:56:15 +01:00
parent 5098e6c084
commit b071ea6eb9
1 changed files with 2 additions and 2 deletions

View File

@ -22,10 +22,10 @@
<p> <p>
<?php <?php
if (isset($_GET['error'])){ if (isset($_GET['error'])){
if (error == "credentials"){ if ($_GET['error'] == "credentials"){
echo "Invalid credentials. Try again:"; echo "Invalid credentials. Try again:";
} }
if (error == "session"){ if ($_GET['error'] == "session"){
echo "Your session was closed. We are sorry for the inconvenience."; echo "Your session was closed. We are sorry for the inconvenience.";
} }
} else { } else {