lemonldap-ng/lemonldap-ng-portal/t/vrfyOTP.pl
2018-09-05 21:13:39 +02:00

8 lines
172 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' );