style: apply rustfmt to login-lockout code merged in #326
Same whitespace-only reformat as branch claude/jolly-johnson-yso7z7: PR #326 landed three files that fail cargo fmt --check and its CI run skipped the Rustfmt job, breaking the check for every later Rust PR. https://claude.ai/code/session_01GpprjxjtXFYLfXNkoKnHuL
This commit is contained in:
@@ -290,10 +290,7 @@ pub async fn login(
|
||||
// same account from a different address (issue #323). The check runs
|
||||
// BEFORE Argon2 to save CPU under brute-force attacks.
|
||||
let client_ip = client_ip_from_parts(&headers, Some(peer), false);
|
||||
if let Err(lockout_secs) = auth_service
|
||||
.login_lockout
|
||||
.check(&dto.username, &client_ip)
|
||||
{
|
||||
if let Err(lockout_secs) = auth_service.login_lockout.check(&dto.username, &client_ip) {
|
||||
tracing::warn!(
|
||||
target: "audit",
|
||||
event = "auth.login",
|
||||
|
||||
Reference in New Issue
Block a user