aboutsummaryrefslogtreecommitdiff
path: root/src/controller/login.rs
diff options
context:
space:
mode:
authorJoris2024-06-02 12:53:20 +0200
committerJoris2024-06-02 12:53:20 +0200
commit0d5ec3626773edb7d32884c594230c7cc03ae0e7 (patch)
tree768b6d6fee0b5409c7a12f5aa7b191a25ca5f2d7 /src/controller/login.rs
parent76a761630a8e6f5686d7e4384948ed949f702f3b (diff)
downloadbudget-0d5ec3626773edb7d32884c594230c7cc03ae0e7.tar.gz
budget-0d5ec3626773edb7d32884c594230c7cc03ae0e7.tar.bz2
budget-0d5ec3626773edb7d32884c594230c7cc03ae0e7.zip
Simplify logging initmain
Diffstat (limited to 'src/controller/login.rs')
-rw-r--r--src/controller/login.rs2
1 files changed, 1 insertions, 1 deletions
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
}
},