adding correct path
This commit is contained in:
@@ -3,7 +3,7 @@ session_start();
|
|||||||
if(isset($_SESSION["login"])){
|
if(isset($_SESSION["login"])){
|
||||||
header("LOCATION:/system/secure_zone/php/index.php");
|
header("LOCATION:/system/secure_zone/php/index.php");
|
||||||
}
|
}
|
||||||
include "/api/php/notifications/sendmessage.php"; //to send user notification on login
|
include "../../../api/php/notifications/sendmessage.php"; //to send user notification on login
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
//this file handles the login via passkey
|
||||||
//with db:
|
//with db:
|
||||||
|
|
||||||
require_once 'WebAuthn.php';
|
require_once 'WebAuthn.php';
|
||||||
@@ -8,6 +9,8 @@ if ($conn->connect_error) {
|
|||||||
$success=0;
|
$success=0;
|
||||||
die("Connection failed: " . $conn->connect_error);
|
die("Connection failed: " . $conn->connect_error);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
include "../../../api/php/notifications/sendmessage.php"; //to send user notification on login
|
||||||
try {
|
try {
|
||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user