Specify password length limits in error (fixes #3284) (#4007)

* Specify password length limits in error (fixes #3284)

* convert to comment
This commit is contained in:
Nutomic 2023-10-05 13:40:22 +02:00 committed by GitHub
parent 5ef4807d09
commit 0115613f90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,6 +106,7 @@ pub enum LemmyErrorType {
PersonIsBlocked,
DownvotesAreDisabled,
InstanceIsPrivate,
/// Password must be between 10 and 60 characters
InvalidPassword,
SiteDescriptionLengthOverflow,
HoneypotFailed,