Skip to content

Commit

Permalink
Create an extend method to update/use attributes of the user
Browse files Browse the repository at this point in the history
  • Loading branch information
ishannz authored and satrun77 committed Nov 23, 2023
1 parent d938b37 commit 352362a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Control/SAMLController.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ public function acs()
$attributes['GUID'][0] = $guid;
}

$this->extend('updateAttributes', $attributes);

$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 352362a

Please sign in to comment.