fixing some bugs with passkeys

This commit is contained in:
jakani24
2024-04-26 16:15:59 +02:00
parent c924815e99
commit db0eda762f
3 changed files with 3 additions and 3 deletions

View File

@@ -239,6 +239,7 @@ async function checkRegistration() {
<br>
<p>Or</p>
<button type="button" class="btn btn-primary btn-block" onclick="checkRegistration()">Login with a passkey</button>
<br>
<!-- php code to verify password-->
<?php
// Check if the form is submitted

View File

@@ -175,6 +175,7 @@ try {
$_SESSION["perms"]=$row["perms"];
$_SESSION["email"]=$row["email"];
$_SESSION["telegram_id"]=$row["telegram_id"];
$_SESSION["allow_pw_llgin"]=$row["allow_pw_login"];
$return = new stdClass();
$return->success = true;