Skip to content

Commit

Permalink
Update signup.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zume2020 authored Oct 9, 2018
1 parent ca73a7f commit 643e192
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions signup.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
require_once 'connect.php';

//it will never let you open signup page if session is set
if (!empty($_SESSION['userId'])) {
if (!empty($_SESSION['userName'])) {
header("Location: index.php");
exit;
}
Expand Down Expand Up @@ -47,4 +47,4 @@

</body>

</html>
</html>

0 comments on commit 643e192

Please sign in to comment.