Do not return empty array in ApiKeyAuth::authenticate()

Created on 22 March 2024, 9 months ago
Updated 7 June 2024, 6 months ago

Problem/Motivation

See https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Authentic...

the method expects NULL or AccountInterface.

Currently an empty array is returned, if authentication fails, with unclear effects!

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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