Drop redirect within form validation

Created on 19 January 2023, almost 2 years ago

Problem/Motivation

There is a redirect within the form validation which has undesired side-effects. Namely when the form does not validate for annonymous users it will not present them with the standard spamicide error message because the code redirects them to the form page.

Steps to reproduce

1. Fill a form completely, including the "feed_me" field as annonymous user
2. Notice that there is no error message and the user gets redirected to the empty form

Proposed resolution

I propose removing the redirect code so that the form can properly report error messages.

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

Feature request
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇩🇰Denmark dasj19

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.

  • Status changed to Closed: works as designed almost 2 years ago
Production build 0.71.5 2024