pub fn check_user_matches(
user1: &UserId,
user2: &UserId,
) -> Result<(), AccountActionNotAuthorized>Expand description
Returns a [ErrorKind::Forbidden] error response (with HTTP status 403 - Forbidden) if the two given user IDs differ.
pub fn check_user_matches(
user1: &UserId,
user2: &UserId,
) -> Result<(), AccountActionNotAuthorized>Returns a [ErrorKind::Forbidden] error response (with HTTP status 403 - Forbidden) if the two given user IDs differ.