What is the maximum username length for a Lemmy account?
What is the maximum username length for a Lemmy account?
Solution
The Lemmy server appears to have a database limit of 255 characters [2]; however, individual instances appear to put their own limits on username length though the frontend [3] and/or the API [4.1][4.2].
Original Post
If you know, please also provide relevant documentation.
UPDATE (2025-02-02T06:06Z): I did some brute-force testing, and, at least for sh.itjust.works, it seems that the maximum username length is 50, and the maximum password length is 60 [1].
It might be 255 characters?
Assuming that's the field applicable to this question, there isn't some other limit somewhere other than the database and that I didn't miss another later migration that changes the field length etc. I haven't looked terribly thoroughly, though.
Can’t wait for the 255 username posting to 255 community @ 255 (253?) instance