Whoopsie... Remember to run your unit tests before comitting, folks
This commit is contained in:
parent
fe739e7f2b
commit
a36e43ea11
@ -50,7 +50,7 @@ under sub ($c) {
|
|||||||
# Delete this since I was supposed to be using 'expires' instead
|
# Delete this since I was supposed to be using 'expires' instead
|
||||||
# of 'expiration'; the difference is outlined here:
|
# of 'expiration'; the difference is outlined here:
|
||||||
# https://docs.mojolicious.org/Mojolicious/Controller#session
|
# https://docs.mojolicious.org/Mojolicious/Controller#session
|
||||||
delete $c->session('expiration') if $c->session('expiration');
|
delete $c->session->{'expiration'} if $c->session('expiration');
|
||||||
|
|
||||||
$c->stash(status => 403) if $c->flash('error');
|
$c->stash(status => 403) if $c->flash('error');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user