Display user name in application header
This commit is contained in:
@@ -17,6 +17,7 @@ async fn main() -> std::io::Result<()> {
|
||||
|
||||
let secret_key = Key::from(AppConfig::get().secret().as_bytes());
|
||||
|
||||
log::info!("Connect to Redis session store...");
|
||||
let redis_store = RedisSessionStore::new(AppConfig::get().redis_connection_string())
|
||||
.await
|
||||
.expect("Failed to connect to Redis!");
|
||||
|
||||
Reference in New Issue
Block a user