survey_seahorse

Software Engineering Project - Fall 2018
Log | Files | Refs | README

commit 94af59712c23a50b168f7965956e615710779d0b
parent 0ee62e8bccde46e4e70b8817aa7be30e438c7809
Author: David Liotta <liottad6@students.rowan.edu>
Date:   Mon, 17 Dec 2018 15:12:12 -0500

Added page redirection if user is not logged in
Diffstat:
Mwebsite/profile.php | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/website/profile.php b/website/profile.php @@ -2,6 +2,8 @@ <?php session_start(); include_once 'config.php'; +if($_SESSION['username'] == null) + header("Location: login.php"); $user = $_SESSION['username']; $email = $_SESSION['email'];