Allow password reset form to 'pull' user from crowd if they have an account there but not in Drupal

Created on 24 June 2023, about 1 year ago
Updated 26 June 2023, about 1 year ago

Problem/Motivation

It is possible for a user to be registered in crowd, but not on the Drupal site.
They may not realise this and attempt a password reset.
There is no UI from crowd for a password reset so they're unable to do so.

Steps to reproduce

Have an account in crowd
But not an account in Drupal
Attempt to reset a password so you can login

Proposed resolution

When user password form is validating, if there's no local Drupal account, query Crowd to see if a user with that email address/username exists.
If it does, create a local account for the user without notification and then let the existing password reset submit handler send them an email.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

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

Comments & Activities

Production build 0.69.0 2024