Clean up session stuff
This commit is contained in:
parent
a6186eee2b
commit
f02ebbae63
@ -19,7 +19,7 @@ under sub {
|
||||
my ($c) = @_;
|
||||
|
||||
if ($c->cookie('banner') eq 'seen') {
|
||||
$c->session->{banner} = 'seen' unless $c->session->{banner}
|
||||
$c->session->{banner} //= 'seen'
|
||||
}
|
||||
|
||||
1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user