User login fails minimum post size threshold

Created on 21 December 2022, almost 2 years ago
Updated 25 March 2023, over 1 year ago

Problem/Motivation

Upon login, `_protected_forms_validate()` fires, and rejects my login because the length of my username is lower than `protected_forms_post_size_threshold`.

Steps to reproduce

Have a username shorter than 20 characters and attempt to log in via the normal user login form.

Proposed resolution

It doesn't really make sense to exempt the login form from protection, so I think there may need to be a special case to skip the POST size threshold for login.

πŸ› Bug report
Status

Needs work

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States MegaphoneJon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024