Added Czech translations to charts. Added logging to actix.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
use actix_web::middleware::Logger;
|
||||
use leptos_captcha::spow::pow::Pow;
|
||||
use log::error;
|
||||
use rezervator::backend::appearance::check_appearance;
|
||||
@@ -78,6 +79,7 @@ async fn main() -> std::io::Result<()> {
|
||||
|
||||
App::new()
|
||||
.app_data(Data::new(AppData::new(pool.clone(), mailing.clone())))
|
||||
.wrap(Logger::default())
|
||||
.wrap(Authentication)
|
||||
.wrap(SessionMiddleware::new(
|
||||
CookieSessionStore::default(),
|
||||
|
||||
Reference in New Issue
Block a user