From 0115613f90c4a6fc2f8fedca1ed3ad711b6e71f2 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Thu, 5 Oct 2023 13:40:22 +0200 Subject: [PATCH] Specify password length limits in error (fixes #3284) (#4007) * Specify password length limits in error (fixes #3284) * convert to comment --- crates/utils/src/error.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/utils/src/error.rs b/crates/utils/src/error.rs index c37bdac0a..6032a9791 100644 --- a/crates/utils/src/error.rs +++ b/crates/utils/src/error.rs @@ -106,6 +106,7 @@ pub enum LemmyErrorType { PersonIsBlocked, DownvotesAreDisabled, InstanceIsPrivate, + /// Password must be between 10 and 60 characters InvalidPassword, SiteDescriptionLengthOverflow, HoneypotFailed,