logs for account

This commit is contained in:
ntr
2019-05-21 11:34:00 +10:00
parent 246489c342
commit 15f0daefd1
+2 -2
View File
@@ -103,7 +103,7 @@ pub fn account_create(params: AccountCreateParams, tx: &mut Transaction) -> Resu
token: returned.get(2),
};
info!("{:?} registered", entry.name);
info!("registration account={:?}", entry.name);
return Ok(entry);
}
@@ -136,7 +136,7 @@ pub fn account_login(params: AccountLoginParams, tx: &mut Transaction) -> Result
return Err(err_msg("password does not match"));
}
info!("{:?} logged in", entry.name);
info!("login account={:?}", entry.name);
// MAYBE
// update token?