fix(registration): discrepancy between 401 response and 500 log statement

This commit is contained in:
Shane Jaroch authored and Ellis Git committed 2026-03-04 16:18:38 +00:00
1 parent 9a3f7f4af7
commit da182c162d
1 file changed
+1
+1
View File
@@ -191,6 +191,7 @@ impl Error {
| Self::Reqwest(error) => error.status().unwrap_or(StatusCode::INTERNAL_SERVER_ERROR),
| Self::Conflict(_) => StatusCode::CONFLICT,
| Self::Io(error) => response::io_error_code(error.kind()),
| Self::Uiaa(_) => StatusCode::UNAUTHORIZED,
| _ => StatusCode::INTERNAL_SERVER_ERROR,
}
}