Skip to content

Commit 33a13ca

Browse files
Added User Session Logout
1 parent 738ad97 commit 33a13ca

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

account/welcome/logout.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@
55
if(isset($_SESSION['uname'])){
66

77
session_destroy();
8-
98
echo "<script>location.href='https://athena-dbms.42web.io/'</script>";
10-
119
}
1210

1311
else {
1412

1513
echo "<script>location.href='https://athena-dbms.42web.io/index.php'</script>";
1614

1715
}
18-
1916
?>

0 commit comments

Comments
 (0)