Revert "Flash message for new sessions"
This reverts commit 60e4f9ffcc5e1fb922ed409cbf116e91058a05cf.
This commit is contained in:
parent
60e4f9ffcc
commit
6683b508e4
@ -138,7 +138,6 @@ sub startup($self) {
|
|||||||
# Shortcut to new session cookie/identity
|
# Shortcut to new session cookie/identity
|
||||||
$r->get('/new', sub ($c) {
|
$r->get('/new', sub ($c) {
|
||||||
$c->session(expires => 1);
|
$c->session(expires => 1);
|
||||||
$c->flash(info => 'Session has been reset; have a cookie. 🍪');
|
|
||||||
|
|
||||||
$c->redirect_to('threads_list');
|
$c->redirect_to('threads_list');
|
||||||
})->name('new_session');
|
})->name('new_session');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user