mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 18:15:39 +00:00
add site key form
This commit is contained in:
@@ -177,7 +177,8 @@ async fn signout(id: Identity) -> impl Responder {
|
||||
if let Some(_) = id.identity() {
|
||||
id.forget();
|
||||
}
|
||||
HttpResponse::Ok()
|
||||
.set_header(header::LOCATION, "/login")
|
||||
.body("")
|
||||
HttpResponse::Found()
|
||||
.header(header::LOCATION, "/login")
|
||||
.finish()
|
||||
.into_body()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user