From 06b032cabf41e371602813f3f1a909baf8c22a62 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Fri, 16 Jun 2023 17:21:40 -0700 Subject: [PATCH] Add success error catching redirect --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.rs b/src/main.rs index 32e9c37..37fb22d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -99,6 +99,7 @@ async fn post_login(login: Form>, cookies: &CookieJar<'_>) -> Redirect fn success() -> RawHtml<&'static str> { RawHtml("
") }