login update
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user