fix(web): i don't really get cookies apparently

This commit is contained in:
əlemi 2024-04-18 05:00:08 +02:00
parent 93b5c0cd4a
commit 85f3bc1e5c
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -11,8 +11,6 @@ pub fn App() -> impl IntoView {
"token",
UseCookieOptions::default()
.max_age(1000 * 60 * 60 * 6)
.readonly(false)
.domain(URL_BASE)
);
let (username, set_username) = use_cookie::<String, FromToStringCodec>("username");
provide_context(auth);