Unencrypt AccountProxy fields in addition to entity fields

Created on 1 December 2021, over 2 years ago
Updated 9 February 2023, over 1 year ago

Problem/Motivation

Calling \Drupal::currentUser() returns encrypted information.

Steps to reproduce

Encrypt a base user field like email, call \Drupal::currentUser(), and note that the data is encrypted.

Proposed resolution

Add support for decrypting Account Proxy fields on load.
This may have to be done by overriding the current_user service.
See AccountProxy

✨ Feature request
Status

Needs review

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States damondt

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024