This commit is contained in:
jakani24
2024-04-27 12:52:43 +02:00
parent a68560ac46
commit d1e2d510fb
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,6 @@
}
// Create user table
//INSERT INTO registrations (userId, credentialId, publicKey, counter) VALUES (?, ?, ?, ?)");
$sql = "CREATE TABLE IF NOT EXISTS users (
id INT AUTO_INCREMENT PRIMARY KEY,
username VARCHAR(255) NOT NULL,

View File

@@ -242,7 +242,8 @@ $email = $_SESSION["email"];
<br>
<button type="submit" class="btn btn-primary btn-block">Update</button>
<br>
<p>Or</p>
Or
<br>
<button type="button" class="btn btn-primary btn-block" onclick="createRegistration()">Add a passkey</button>
</form>
<br>