Skip to content

Commit

Permalink
Log whether primary auth plugin can modify login, name or mail
Browse files Browse the repository at this point in the history
Only shown when debugging is enabled.
  • Loading branch information
pief committed Sep 20, 2023
1 parent ead55c7 commit 48e8dc1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,12 @@ public function modifyUser($user, $changes) {
return false;
}
}
else {
$this->_debug(
"authsplit:modifyUser(): primary auth plugin " .
"doesn\'t support modifying $field.", 1, __LINE__, __FILE__
);
}

/* Now in the secondary auth plugin. */
$result = $this->authplugins['secondary']->modifyUser(
Expand Down

0 comments on commit 48e8dc1

Please sign in to comment.