diff options
-rw-r--r-- | lib/Crater/Routes/Auth.rakumod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crater/Routes/Auth.rakumod b/lib/Crater/Routes/Auth.rakumod index 73e6dc7..aef2c48 100644 --- a/lib/Crater/Routes/Auth.rakumod +++ b/lib/Crater/Routes/Auth.rakumod @@ -25,7 +25,7 @@ sub auth-routes( } } } - get -> Crater::Session $session, 'logout' { + get -> LoggedIn $session, 'logout' { $session.logged-in = False; redirect :see-other, '/'; } |