Log who's logging out before destroying the session

master
Daniel Berteaud 10 years ago
parent f8257889b3
commit f480f9b537
  1. 2
      vroom.pl

@ -205,8 +205,8 @@ helper logout => sub {
$peers->{$self->session('peer_id')}->{socket}){ $peers->{$self->session('peer_id')}->{socket}){
$peers->{$self->session('peer_id')}->{socket}->finish; $peers->{$self->session('peer_id')}->{socket}->finish;
} }
$self->session( expires => 1 );
$self->app->log->info($self->session('name') . " logged out"); $self->app->log->info($self->session('name') . " logged out");
$self->session( expires => 1 );
return 1; return 1;
}; };

Loading…
Cancel
Save