forked from alemi/upub
fix(web): i don't really get cookies apparently
This commit is contained in:
parent
93b5c0cd4a
commit
85f3bc1e5c
1 changed files with 0 additions and 2 deletions
|
@ -11,8 +11,6 @@ pub fn App() -> impl IntoView {
|
||||||
"token",
|
"token",
|
||||||
UseCookieOptions::default()
|
UseCookieOptions::default()
|
||||||
.max_age(1000 * 60 * 60 * 6)
|
.max_age(1000 * 60 * 60 * 6)
|
||||||
.readonly(false)
|
|
||||||
.domain(URL_BASE)
|
|
||||||
);
|
);
|
||||||
let (username, set_username) = use_cookie::<String, FromToStringCodec>("username");
|
let (username, set_username) = use_cookie::<String, FromToStringCodec>("username");
|
||||||
provide_context(auth);
|
provide_context(auth);
|
||||||
|
|
Loading…
Reference in a new issue