mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-01-11 02:36:15 +00:00
improve spelling of minimum expiration hours check
Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
This commit is contained in:
parent
b70316e6d3
commit
ac120be1c6
@ -730,7 +730,7 @@ fn validate_config(cfg: &ConfigItems) -> Result<(), Error> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if cfg.invitation_expiration_hours < 1 {
|
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(())
|
Ok(())
|
||||||
|
Loading…
Reference in New Issue
Block a user