Skip to content

Commit 4d00eca

Browse files
committed
add entry page
1 parent 9ad30fe commit 4d00eca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

backend/Welcomepage.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Check if the user is logged in, if not then redirect him to login page
66
if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){
7-
header("location: login.php");
7+
header("location: index.php");
88
exit;
99
}
1010
?>
@@ -25,5 +25,8 @@
2525
<a href="resetpassword.php" class="btn btn-warning">Reset Your Password</a>
2626
<a href="logout.php" class="btn btn-danger ml-3">Sign Out of Your Account</a>
2727
</p>
28+
<?php
29+
include 'SelectUser.php'
30+
?>
2831
</body>
2932
</html>

0 commit comments

Comments
 (0)