Problem/Motivation

The documentation for hook_simplesamlphp_auth_account_authname_alter in simplesamlphp_auth.api.php is a very iuseful example, but uses outdated code. $account->mail should be $account->getEmail().

Steps to reproduce

n/a

Proposed resolution

Change $authname = $account->mail; to $authname = $account->getEmail();

Remaining tasks

Do it.

User interface changes

none

API changes

none

Data model changes

none

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

marcvangend created an issue. See original summary.

anagomes’s picture

Assigned: Unassigned » anagomes

anagomes’s picture

Assigned: anagomes » Unassigned
Status: Active » Needs review
marcvangend’s picture

Status: Needs review » Reviewed & tested by the community

Thanks Ana! Great to see you so active in the issue queue.