Phuks-co / throat

Open Source link aggregator and discussion platform powering Phuks
https://phuks.co
MIT License
73 stars 32 forks source link

Allow users with names longer than the current limit to log in #494

Closed happy-river closed 2 years ago

happy-river commented 2 years ago

One of the changes in #488 prevents users with names longer than the current value of site.username_max_length from logging in. This means that if an admin ever changes that setting to a smaller value, they will effectively be banning users. Fix this by allowing usernames up to 256 characters long in the login form, giving admins much more room to permit long usernames than the 32-character limit that existed before #488.