Fix the call of authenticate function
All checks were successful
CI via Tox and perl / tox (pull_request) Successful in 4m42s
CI via Tox and perl / perl (pull_request) Successful in 3m33s
AI Code Review / ai-review (pull_request_target) Has been skipped
AI Code Review / remove-label (pull_request_target) Successful in 2s

This commit is contained in:
Lukáš Růžička 2026-01-28 16:52:37 +01:00
commit 604c736b9b

View file

@ -8,6 +8,7 @@ use mwriter;
sub run {
my $self = shift;
my $password = get_var("USER_PASSWORD", "weakpassword");
# Start the application
menu_launch_type("media-writer", checkstart => 1);
@ -22,7 +23,7 @@ sub run {
# Confirm renovation.
wait_still_screen(5);
authenticate();
authenticate($password, timeout => 15, stillscreen => 3);
# Wait up to 300 sec and wait for confirmation.
# As this operation should be quicker, we do not have to