diff --git a/src/account/account.rs b/src/account/account.rs index 0356ebf..8e4fc6f 100644 --- a/src/account/account.rs +++ b/src/account/account.rs @@ -45,6 +45,7 @@ const INVALID_TOKEN_ERRORS_DBG: Errors<'static> = Errors{ }; // optimization note: add token caching +#[derive(Debug)] pub struct User { pub pid: i32, pub username: String, @@ -154,7 +155,6 @@ pub async fn read_basic_auth_token(connection: &Pool, token: &str) -> Option