We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bece10c commit d05abfaCopy full SHA for d05abfa
src/web/app.rs
@@ -124,7 +124,7 @@ impl App {
124
let caching_store = CachingSessionStore::new(moka_store, redis_store);
125
let session_layer = SessionManagerLayer::new(caching_store)
126
.with_expiry(Expiry::OnInactivity(Duration::days(1)))
127
- .with_private(Key::derive_from(&self.state.env.csrf_key));
+ .with_private(Key::from(&self.state.env.csrf_key));
128
129
let backend = Backend::new(self.state.db.clone());
130
let auth_layer = AuthManagerLayerBuilder::new(backend, session_layer.clone()).build();
0 commit comments