login update

This commit is contained in:
2021-03-08 10:05:31 +01:00
parent 04372b3539
commit 5d0e60cd9d
2 changed files with 12 additions and 1 deletions
+1
View File
@@ -38,6 +38,7 @@ if(isset($_POST['reg_group'])){
}
$_SESSION['groupName'] = $groupName;
$_SESSION['groupId'] = $group->id;
$_SESSION['success'] = "You are now logged in";
header('location: index.php');
}