Skip to content
Snippets Groups Projects
Commit 677edb73 authored by Andy Summers's avatar Andy Summers
Browse files

Merge branch 'uwmsn-email' into 'master'

Chore: replace EPPN with email

This PR fixes an error in `PreauthUserDetailsProvider` where EPPN was being passed to the constructor in place of email, an artifact of the email attribute not being delivered by Shib until recently.

Please review: @ahoffmann @weizhong-wang @KJOYNER

See merge request !9
parents 3f107fe8 630ef6ae
No related branches found
No related tags found
1 merge request!9Chore: replace EPPN with email
......@@ -4,7 +4,7 @@
"type": "library",
"homepage": "https://git.doit.wisc.edu/adi-ia/uw-php-security",
"license": "Apache-2.0",
"version": "2.0.1",
"version": "2.0.2",
"authors": [{
"name": "UW-Madison DoIT ADI Integrated Applications",
"email": "adi-ia@lists.wisc.edu",
......
......@@ -40,7 +40,7 @@ class PreauthUserDetailsProvider extends UserDetailsProvider
getenv($this->mapAttribute(static::PVI)),
getenv($this->mapAttribute(static::FULL_NAME)),
explode(static::DELIMITER, getenv($this->mapAttribute(static::UDDS))),
getenv($this->mapAttribute(static::EPPN)),
getenv($this->mapAttribute(static::EMAIL)),
getenv($this->mapAttribute(static::SOURCE)),
getenv($this->mapAttribute(static::ISIS_EMPLID)),
getenv($this->mapAttribute(static::FIRST_NAME)),
......@@ -52,7 +52,7 @@ class PreauthUserDetailsProvider extends UserDetailsProvider
getenv(static::PVI),
getenv(static::FULL_NAME),
getenv(static::UDDS),
getenv(static::EPPN),
getenv(static::EMAIL),
getenv(static::SOURCE),
getenv(static::ISIS_EMPLID),
getenv(static::FIRST_NAME),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment