mirror of
https://github.com/perstarkse/minne.git
synced 2026-07-11 07:12:50 +02:00
refactor: implemented state machines for retrieval pipeline, improved tracing
This commit is contained in:
@@ -27,11 +27,15 @@ pub async fn show_signin_form(
|
||||
if auth.is_authenticated() {
|
||||
return Ok(TemplateResponse::redirect("/"));
|
||||
}
|
||||
if boosted { Ok(TemplateResponse::new_partial(
|
||||
"auth/signin_base.html",
|
||||
"body",
|
||||
(),
|
||||
)) } else { Ok(TemplateResponse::new_template("auth/signin_base.html", ())) }
|
||||
if boosted {
|
||||
Ok(TemplateResponse::new_partial(
|
||||
"auth/signin_base.html",
|
||||
"body",
|
||||
(),
|
||||
))
|
||||
} else {
|
||||
Ok(TemplateResponse::new_template("auth/signin_base.html", ()))
|
||||
}
|
||||
}
|
||||
|
||||
pub async fn authenticate_user(
|
||||
|
||||
Reference in New Issue
Block a user