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