#!/usr/bin/perl

use File::Basename;
use lib dirname (__FILE__);

use NVPNLog;
use NVPNApi;

nvpn_log_init;
my $ret = nvpn_validate_user($ENV{"username"}, $ENV{"password"}, $ENV{"local_1"}, "openvpn");
nvpn_log_close;
exit(!$ret);

