Doesn't work with shared email

Created on 16 February 2023, over 1 year ago
Updated 10 March 2023, over 1 year ago

Problem/Motivation

I'm using the shared email login module, as i need to allow users to create 1 separate account to each domain, reusing the same email.
The issue is in _domain_login_restrict_reset_password_validate method.
If you try to login with the email, it will just pick the first user account it finds and do the checks after.
It needs to check if the user email is assigned with that domain in the case we are using shared email.
I'm not sure if there is a perfect solution for this but i will push a patch that works for my use case.

Steps to reproduce

Enable domain login restrict and shared email modules.
Create 1 account for each domain with the same email.
Try to login. It will not allow in the case it picked the wrong account not associated with the email.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

🇵🇹Portugal ricardofaria

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

Comments & Activities

Production build 0.69.0 2024