Update authenticateMe.php
This commit is contained in:
parent
2c17d04dab
commit
6f6b9337ab
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once 'includes/imp_files.php';
|
require_once 'includes/imp_files.php';
|
||||||
|
$cookie_life_days = COOKIE_LIFE_DAYS;
|
||||||
|
|
||||||
$std = new stdClass();
|
$std = new stdClass();
|
||||||
$std->message = array();
|
$std->message = array();
|
||||||
@ -73,6 +74,7 @@ $std->error = true;
|
|||||||
$_SESSION['flo_id'] = $floID;
|
$_SESSION['flo_id'] = $floID;
|
||||||
|
|
||||||
//Now I need to enter public key and session ID in database .. but first I need to know the username
|
//Now I need to enter public key and session ID in database .. but first I need to know the username
|
||||||
|
// This check can be suspended here. If the user has correct FLO signature, but does not exist in database, he will fail the gate at acc_deact.php
|
||||||
if (isset($UserClass)) {
|
if (isset($UserClass)) {
|
||||||
$permitted_status = $UserClass->checkIfFloIDPermitted($flo_id);
|
$permitted_status = $UserClass->checkIfFloIDPermitted($flo_id);
|
||||||
if ($permitted_status == true){
|
if ($permitted_status == true){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user