Admin can now hopefully add a passkey to their account
This commit is contained in:
parent
cadd58187a
commit
2fb8339d91
16 changed files with 351 additions and 40 deletions
|
@ -1,10 +1,11 @@
|
|||
import '../css/app.css';
|
||||
|
||||
// import { Auth } from './auth.js';
|
||||
//
|
||||
// let auth = new Auth();
|
||||
import { Auth } from './auth.js';
|
||||
|
||||
// auth.createCredentials().then((credentials) => {
|
||||
// // eslint-disable-next-line no-console
|
||||
// console.log(credentials);
|
||||
// });
|
||||
let auth = new Auth();
|
||||
|
||||
document.querySelectorAll('.add-passkey').forEach((el) => {
|
||||
el.addEventListener('click', () => {
|
||||
auth.register();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue