diff options
Diffstat (limited to 'lib/Crater/Session.rakumod')
-rw-r--r-- | lib/Crater/Session.rakumod | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Crater/Session.rakumod b/lib/Crater/Session.rakumod new file mode 100644 index 0000000..246c8bb --- /dev/null +++ b/lib/Crater/Session.rakumod @@ -0,0 +1,7 @@ +use Cro::HTTP::Auth; + +class Crater::Session does Cro::HTTP::Auth { + has Bool $.logged-in is rw; +} + +subset LoggedIn of Crater::Session is export where *.logged-in; |