add site key form

This commit is contained in:
realaravinth
2021-05-03 20:24:03 +05:30
parent 0531a26274
commit 812b0ff2c9
49 changed files with 1253 additions and 597 deletions

View File

@@ -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()
}