mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
static dir renamed and cookie auth middleware
This commit is contained in:
@@ -252,7 +252,7 @@ pub async fn signout(id: Identity) -> impl Responder {
|
||||
if let Some(_) = id.identity() {
|
||||
id.forget();
|
||||
}
|
||||
HttpResponse::TemporaryRedirect()
|
||||
HttpResponse::Found()
|
||||
.set_header(header::LOCATION, "/login")
|
||||
.body("")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user