mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-28 00:23:09 +00:00
fix root console login with switched keyboard layout
we only 'double' the password for the user account, not for root this is a trivial fix so just pushing it out to get cyrillic test working at last (hopefully)
This commit is contained in:
parent
46c6ed3cdb
commit
87da472f03
@ -65,9 +65,9 @@ sub console_login {
|
|||||||
}
|
}
|
||||||
elsif ($needpass and check_screen "console_password_required", 0) {
|
elsif ($needpass and check_screen "console_password_required", 0) {
|
||||||
type_string "$args{password}";
|
type_string "$args{password}";
|
||||||
if (get_var("SWITCHED_LAYOUT")) {
|
if (get_var("SWITCHED_LAYOUT") and $args{user} ne "root") {
|
||||||
# see _do_install_and_reboot; when layout is switched
|
# see _do_install_and_reboot; when layout is switched
|
||||||
# password is doubled to contain both US and native
|
# user password is doubled to contain both US and native
|
||||||
# chars
|
# chars
|
||||||
$self->console_switch_layout();
|
$self->console_switch_layout();
|
||||||
type_string "$args{password}";
|
type_string "$args{password}";
|
||||||
|
Loading…
Reference in New Issue
Block a user