Set version & tidy (#1954)

This commit is contained in:
Christophe Maudoux 2019-09-27 22:23:54 +02:00
parent 9d245fe819
commit 0f32b7db82

View File

@ -11,12 +11,12 @@ package Lemonldap::NG::Handler::Lib::ZimbraPreAuth;
use strict;
use Digest::HMAC_SHA1 qw(hmac_sha1_hex);
our $VERSION = '2.0.6';
our $VERSION = '2.0.7';
# Overload main run method
sub run {
my ( $class, $req ) = @_;
my ($ret, $session) = $class->Lemonldap::NG::Handler::Main::run($req);
my ( $class, $req ) = @_;
my ( $ret, $session ) = $class->Lemonldap::NG::Handler::Main::run($req);
# Continue only if user is authorized
return $ret unless ( $ret == $class->OK );