fix code quality issues
This commit is contained in:
parent
9ffa56aa1b
commit
b6f6c3ea18
27 changed files with 63 additions and 64 deletions
|
@ -142,7 +142,7 @@ async function queryKey(): Promise<void> {
|
|||
|
||||
function onSubmit(): void {
|
||||
signing.value = true;
|
||||
if (!totpLogin.value && user.value && user.value.twoFactorEnabled) {
|
||||
if (!totpLogin.value && user.value?.twoFactorEnabled) {
|
||||
if (webAuthnSupported() && user.value.securityKeys) {
|
||||
misskeyApi('signin', {
|
||||
username: username.value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue