adding correct path

This commit is contained in:
jakani24
2024-06-06 15:47:21 +02:00
parent 0d7846e4d5
commit 76fbfa2fe3
2 changed files with 4 additions and 1 deletions

View File

@@ -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">

View File

@@ -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();