diff options
Diffstat (limited to 'src/http/routes/mod.rs')
| -rw-r--r-- | src/http/routes/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/routes/mod.rs b/src/http/routes/mod.rs index 0ffecb0..2b9ebb9 100644 --- a/src/http/routes/mod.rs +++ b/src/http/routes/mod.rs @@ -34,7 +34,7 @@ pub(crate) fn login_form(state: &State, req: &Req) -> Res { } /// `pub(crate)`, not `pub`: the census counted it as test-only because the word appears in `tests/http.rs`, but only inside a string — a route path, a content type, the word "redirect" in an assertion message. Nothing in the test tier calls it. -pub(crate) fn logout(req: &Req) -> Res { +fn logout(req: &Req) -> Res { if let Some(sid) = req.cookie("sid") { auth::drop_session(&sid); } |
