From 232ec00948655b8c68035368400b0a79c101976b Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 13 Feb 2021 12:13:13 +0200 Subject: removed usename from session --- php/logout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'php/logout.php') diff --git a/php/logout.php b/php/logout.php index 9a4cdd7..d37b0a0 100644 --- a/php/logout.php +++ b/php/logout.php @@ -5,6 +5,6 @@ // which will log the user out of our webpage session_start(); -unset($_SESSION['username']); +unset($_SESSION['user_object']); header('Location: /'); ?> -- cgit v1.2.3