Skip to content

Commit 2788653

Browse files
fix
1 parent d020fed commit 2788653

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

assets/js/desktop/pages/connection.js

+2
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,11 @@ function updateTwoFactorVisibility() {
135135
if (useTwoFactor === 1) {
136136
divLogin.hide();
137137
divTwoFactor.show();
138+
twoFactorInput.focus();
138139
} else {
139140
divLogin.show();
140141
divTwoFactor.hide();
142+
loginInput.focus();
141143
}
142144
}
143145

src/Enums/UpdateType.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class UpdateType extends Enum
2929
const ALL = 'ALL';
3030
const CORE = 'core';
3131
const OTHERS = 'others';
32-
const PLUGINS = 'plugin';
32+
const PLUGIN = 'plugin';
3333
const SCRIPT = 'script';
3434
const WIDGET = 'widget';
3535
}

0 commit comments

Comments
 (0)