about summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-09T07·10+0200
committerVincent Ambo <tazjin@gmail.com>2018-04-09T07·11+0200
commitef5e8ec8bd2cf06cdc48b7d77ec9a85b370b4433 (patch)
tree877010e87ee3451f588c39b5a61a2b481d3a38f3 /src/main.rs
parentd91dec28f8aa1eacbcce697f232902ad09d79523 (diff)
feat(handlers): Add RequireLogin middleware
Adds a middleware that automatically redirects users to the login page
if they don't have an active session (i.e. 'author' set).
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions