fix testsg
This commit is contained in:
parent
e5f22ae070
commit
9a3636f05f
@ -113,7 +113,7 @@ async fn updatepw(
|
||||
}
|
||||
|
||||
#[get("/logout")]
|
||||
fn logout(cookies: &CookieJar<'_>, _user: &User) -> Flash<Redirect> {
|
||||
fn logout(cookies: &CookieJar<'_>, _user: User) -> Flash<Redirect> {
|
||||
cookies.remove_private(Cookie::named("loggedin_user"));
|
||||
|
||||
Flash::success(Redirect::to("/auth"), "Logout erfolgreich")
|
||||
|
Loading…
Reference in New Issue
Block a user