Skip to content

Commit

Permalink
Fix(Core): fix undefined index _emails
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz authored and trasher committed Apr 24, 2024
1 parent e60a65e commit 4741bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/User.php
Expand Up @@ -2387,7 +2387,7 @@ public function getFromSSO()

$this->fields = $rule->processAllRules($groups_id, Toolbox::stripslashes_deep($this->fields), [
'type' => Auth::EXTERNAL,
'email' => $this->fields["_emails"],
'email' => $this->fields["_emails"] ?? [],
'login' => $this->fields["name"]
]);

Expand Down

0 comments on commit 4741bfa

Please sign in to comment.