mirror of
https://github.com/perstarkse/minne.git
synced 2026-07-14 08:42:51 +02:00
chore: clippy html-router
This commit is contained in:
@@ -27,14 +27,11 @@ pub async fn show_signin_form(
|
||||
if auth.is_authenticated() {
|
||||
return Ok(TemplateResponse::redirect("/"));
|
||||
}
|
||||
match boosted {
|
||||
true => Ok(TemplateResponse::new_partial(
|
||||
"auth/signin_base.html",
|
||||
"body",
|
||||
(),
|
||||
)),
|
||||
false => 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