Fix the tabbing for username to password on login (#2155)

Co-authored-by: notCharles <charles@pelican.dev>
This commit is contained in:
Lance Pioch
2026-02-02 08:40:55 -05:00
committed by GitHub
parent 36de4c3786
commit 57c2aa6f21

View File

@@ -66,6 +66,14 @@ class Login extends BaseLogin
->extraInputAttributes(['tabindex' => 1]);
}
protected function getPasswordFormComponent(): Component
{
/** @var TextInput $component */
$component = parent::getPasswordFormComponent();
return $component->extraInputAttributes(['tabindex' => 2]);
}
protected function getOAuthFormComponent(): Component
{
$actions = [];