diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-04-09T07·10+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-04-09T07·11+0200 |
commit | ef5e8ec8bd2cf06cdc48b7d77ec9a85b370b4433 (patch) | |
tree | 877010e87ee3451f588c39b5a61a2b481d3a38f3 /src/main.rs | |
parent | d91dec28f8aa1eacbcce697f232902ad09d79523 (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