Skip to content

Commit

Permalink
Add a new hook to update the silverstripe request.
Browse files Browse the repository at this point in the history
  • Loading branch information
ishannz authored and satrun77 committed Nov 26, 2023
1 parent 8c7e33d commit a55be58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Control/SAMLController.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ public function acs()
$this->extend('updateAttributes', $attributes);
$this->extend('updateGuid', $guid);

$request = $this->getRequest();
$this->extend('updateRequest', $request);
$this->setRequest($request);

$fieldToClaimMap = array_flip(Member::config()->claims_field_mappings);

// Write a rudimentary member with basic fields on every login, so that we at least have something
Expand Down

0 comments on commit a55be58

Please sign in to comment.