fixing some bugs with passkeys
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user