diff options
author | Vika <vika@fireburn.ru> | 2021-12-06 20:49:58 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2021-12-06 21:00:02 +0300 |
commit | c02037628e36e71e528b3c76ffb88dc103d73228 (patch) | |
tree | e0d78a61af2f6e1ca7effcca1722f0da31293c05 /src/lib.rs | |
parent | 9a9776230ce8d12d305ca8db19cc76f20ae40926 (diff) | |
download | kittybox-c02037628e36e71e528b3c76ffb88dc103d73228.tar.zst |
Make rustfmt and clippy happy
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs index eb915c2..2b4d1cc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -75,10 +75,10 @@ where app.with( tide::sessions::SessionMiddleware::new( tide::sessions::CookieStore::new(), - &app.state().cookie_secret.as_bytes() + app.state().cookie_secret.as_bytes(), ) - .with_cookie_name("kittybox_session") - .without_save_unchanged() + .with_cookie_name("kittybox_session") + .without_save_unchanged(), ); app } |