Bug 39055: Adjust xt tests to handle login_op

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
(cherry picked from commit 1984f205ed)
Signed-off-by: Chloé Zermatten <chloe.zermatten@openfifth.co.uk>
This commit is contained in:
Jonathan Druart 2026-03-10 09:37:07 +01:00 committed by Chloé Zermatten
parent 929934989e
commit 45798dc92f
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ sub catch_missing_op {
$in_form = 1;
$line_open_form = $line_number;
}
if ( $in_form && $line =~ m{name=('|")op('|")} ) {
if ( $in_form && ( $line =~ m{name=('|")op('|")} || $line =~ m{name=('|")login_op('|")} ) ) {
$has_op = 1;
if ( $line =~ m{value=('|")([^'"]*)('|")} ) {
$op_value = $2;