lemonldap-ng/lemonldap-ng-portal/t/vrfyOTP.pl
Clément OUDOT c5f9a7f95b make tidy
2018-10-12 10:04:03 +02:00

11 lines
185 B
Perl
Executable File

#!/usr/bin/perl
use strict;
use warnings;
my ( $swt1, $user, $swt2, $code ) = @ARGV;
exit !($swt1 eq '-uid'
&& $user eq 'dwho'
&& $swt2 eq '-code'
&& $code eq '123456' );