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.
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.