Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilphoenix71 committed Jan 21, 2020
1 parent d020fed commit 2788653
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions assets/js/desktop/pages/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,11 @@ function updateTwoFactorVisibility() {
if (useTwoFactor === 1) {
divLogin.hide();
divTwoFactor.show();
twoFactorInput.focus();
} else {
divLogin.show();
divTwoFactor.hide();
loginInput.focus();
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/Enums/UpdateType.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class UpdateType extends Enum
const ALL = 'ALL';
const CORE = 'core';
const OTHERS = 'others';
const PLUGINS = 'plugin';
const PLUGIN = 'plugin';
const SCRIPT = 'script';
const WIDGET = 'widget';
}

0 comments on commit 2788653

Please sign in to comment.