diff --git a/src/config.rs b/src/config.rs
index 1d9e53f547fefaecedbd70e84c6a24e8889dfd20..3a2cf958b0bc2b8f643087ac4d7e80b52fb1dad2 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -730,7 +730,7 @@ fn validate_config(cfg: &ConfigItems) -> Result<(), Error> {
     }
 
     if cfg.invitation_expiration_hours < 1 {
-        err!("`INVITATION_EXPIRATION_HOURS` has a minimum size of 1")
+        err!("`INVITATION_EXPIRATION_HOURS` has a minimum duration of 1 hour")
     }
 
     Ok(())