Commit 06ba9c28 authored by Xavier Guimard's avatar Xavier Guimard

Fix tests (#1333)

parent 3e4a9e3b
......@@ -134,6 +134,8 @@ sub _register {
if ( my $datas =
$self->mailott->getToken( $req->datas->{register_token} ) )
{
$self->logger->debug(
'Token ' . $req->datas->{register_token} . ' found' );
foreach (qw(mail firstname lastname ipAddr)) {
$req->datas->{registerInfo}->{$_} = $datas->{$_};
}
......@@ -236,6 +238,7 @@ sub _register {
_type => 'register',
}
);
$self->logger->debug("Token $register_session created");
}
# Send confirmation mail
......@@ -251,8 +254,6 @@ sub _register {
$self->logger->debug("Register session found: $register_session");
my $registerSessionObj = $self->mailott->getToken($register_session);
# Mail session expiration date
my $expTimestamp =
$self->{conf}->{registerTimeout} || $self->conf->{timeout} + time;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment