From 0d5ec3626773edb7d32884c594230c7cc03ae0e7 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 2 Jun 2024 12:53:20 +0200 Subject: Simplify logging init --- src/controller/login.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/controller') diff --git a/src/controller/login.rs b/src/controller/login.rs index dd50a3a..a1bf466 100644 --- a/src/controller/login.rs +++ b/src/controller/login.rs @@ -75,7 +75,7 @@ pub async fn login( } Ok(false) => not_authorized(assets, templates).await, Err(err) => { - error!("Error verifying bcrypt password: {:?}", err); + log::error!("Error verifying bcrypt password: {:?}", err); server_error(assets, templates, "Erreur serveur").await } }, -- cgit v1.2.3