diff --git a/checkIdentity.php b/checkIdentity.php new file mode 100644 index 0000000..46d8a49 --- /dev/null +++ b/checkIdentity.php @@ -0,0 +1,60 @@ + + + + + + + flatAlert('Password corretta', '', 'success', 'index.php'); + "; + }else{ + echo " + "; + } + } + } + ?> + + diff --git a/core/checkIdentity.php b/core/checkIdentity.php deleted file mode 100644 index 79fe3e6..0000000 --- a/core/checkIdentity.php +++ /dev/null @@ -1,34 +0,0 @@ - - - - diff --git a/core/selectFireman.php b/core/selectFireman.php index 09cd6bc..2308d11 100644 --- a/core/selectFireman.php +++ b/core/selectFireman.php @@ -33,8 +33,7 @@ if ($vigile['Password'] != null){ $_SESSION['include'] = 'core/checkPassword.php'; }else{ - $_SESSION['include'] = 'core/createPassword.php'; - header("location:core/checkIdentity.php"); + echo ""; } echo ""; }