Login checkout pane doesn't fully support UserAuthenticationInterface

Created on 22 August 2024, 4 months ago
Updated 5 September 2024, 4 months ago

Describe your bug or feature request.

UserAuthenticationInterface in contrast to UserAuthInterface comes with 2 methods - one for account lookup ::lookupAccount and the other for account authentication ::authenticateAccount.

The login pane only uses the latter, utilizing old good user_load_by_name to lookup the user account. That prevents user.auth service decorators to take advantage of new service fully. This is regression introduced in 3.x as user_load_by_name hasn't been previously used.

If a bug, provide steps to reproduce it from a clean install.

- Install mail_login 4.0.3
- Install commerce 3.x
- As anonymous enter checkout and try to log in with email address

🐛 Bug report
Status

Fixed

Version

3.0

Component

Checkout

Created by

🇳🇴Norway zaporylie

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024