bluelinklabs / ctzn

[DEPRECATED] An open social network built on the Hypercore Protocol data mesh.
https://ctzn.network
MIT License
286 stars 25 forks source link

Any reason for the username MUST have at least three characters? #44

Open lumenpink opened 3 years ago

lumenpink commented 3 years ago

It's just a honest question. There is no such restriction in any other protocol like, email, activitypub, XMPP or even matrix and I don't know why CTZN must have it.

Contextualization:

I own a small domain name. And to keep thinks small I use an one char email/fedi/xmpp/matrix/hubzilla username.

pfrazee commented 3 years ago

I did it with the expectation that usernames might be used in HTTP routes without the @domain postfix, in which case leaving 1-2 character names available opens the possibility for an endpoint like /{username} to add server-defined routes like /x/admin.

If we just require the @domain postfix in all cases, there's no need to enforce the lower limit. Can we think of any other reasons not to relax the requirement?