Skip to content

Commit e438a41

Browse files
Merge pull request #68 from hariketsheth/hariket
Added User Session Logout (#58)
2 parents 35fac6e + 33a13ca commit e438a41

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)