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

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

* convert to comment
pull/4030/head
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
1 changed files with 1 additions and 0 deletions

View File

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