Incorrect button name of unrelated form

Created on 19 December 2022, over 2 years ago
Updated 1 May 2023, about 2 years ago

Problem/Motivation

Module changes button value of form

user_pass_reset

when it should not, because this form is not themed by gin_login.

Steps to reproduce

1. Request new password.
2. Follow new password link in the email.
3. Form opens with confusing button name. Default was and should be "Log in", not "Reset".

Proposed resolution

Define exact form_id instead of using strpos() function.

Remaining tasks

strpos() is being used more times by the module. Not sure if that is optimal, maybe it can cause similar problems for other forms.

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇱🇹Lithuania mindaugasd

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