Problem/Motivation

The registration form shows a warning if the email is already in use and suggests logging into the member portal. It would be helpful if that messaged included a link to the member portal.

Steps to reproduce

On registration form, register a member. Return to registration form and attempt to register another member with the same email address. Warning message will be displayed.

Proposed resolution

When duplicate emails message is shown:

  • If user is logged in, link directly to member portal page.
  • If user not logged in, link to member portal login page.

Remaining tasks

  • When displaying duplicate email message, check if user logged in.
  • If user logged in, generate link to member portal page.
  • If user not logged in, generate link to check membership page.
  • Format link into message displayed.

User interface changes

None.

API changes

None.

Data model changes

None.

Issue fork conreg-3590984

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lostcarpark created an issue. See original summary.

lostcarpark’s picture

Version: 1.0.0-alpha4 » 1.x-dev

lostcarpark’s picture

Status: Active » Needs review

I've added the member portal URL to the duplicate email warning for logged in users.

Anonymous users will get the check email URL instead.

Also slightly tidied up the existing members and unpaid members messages for logged in users, to replace the href tag with rendered link.