workspace: add eslint-config package (#510)

This commit is contained in:
undefined authored and GitHub committed 2023-02-09 23:06:03 +08:00
1 parent e7945a104f
commit 65311529bd
28 files changed
+230 -267

No files matched your search

@@ -86,7 +86,7 @@ export default new AutoloadPage('user_verify', () => {
const { authn, tfa } = info.uname || info.mail;
if (authn || tfa) {
let action = (authn && tfa) ? await chooseAction(true) : '';
if (!action) action = tfa ? await chooseAction(false) : 'webauthn';
action ||= tfa ? await chooseAction(false) : 'webauthn';
if (action === 'webauthn') {
const challenge = await verifywebauthn($form);
if (challenge) $form['authnChallenge'].value = challenge;