logs for account
This commit is contained in:
parent
246489c342
commit
15f0daefd1
@ -103,7 +103,7 @@ pub fn account_create(params: AccountCreateParams, tx: &mut Transaction) -> Resu
|
|||||||
token: returned.get(2),
|
token: returned.get(2),
|
||||||
};
|
};
|
||||||
|
|
||||||
info!("{:?} registered", entry.name);
|
info!("registration account={:?}", entry.name);
|
||||||
|
|
||||||
return Ok(entry);
|
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"));
|
return Err(err_msg("password does not match"));
|
||||||
}
|
}
|
||||||
|
|
||||||
info!("{:?} logged in", entry.name);
|
info!("login account={:?}", entry.name);
|
||||||
|
|
||||||
// MAYBE
|
// MAYBE
|
||||||
// update token?
|
// update token?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user