mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Session management
This commit is contained in:
@@ -24,9 +24,10 @@ if($config_https_only){
|
||||
ini_set("session.cookie_secure", True);
|
||||
}
|
||||
|
||||
session_start();
|
||||
|
||||
if(isset($_POST['login'])){
|
||||
|
||||
// Sessions should start after the user has POSTed data
|
||||
session_start();
|
||||
|
||||
$email = strip_tags(mysqli_real_escape_string($mysqli,$_POST['email']));
|
||||
$password = $_POST['password'];
|
||||
|
||||
Reference in New Issue
Block a user