mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-05 02:23:42 +02:00
fix error message
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
8e95292198
commit
179e4d5b76
|
@ -389,8 +389,8 @@ class UserBackend implements IApacheBackend, UserInterface, IUserBackend {
|
|||
|
||||
// make sure that a valid UID is given
|
||||
if (empty($userData['formatted']['uid'])) {
|
||||
$this->logger->error('No valid uid given, please check your attribute mapping. ' . $uidMapping . ' was mapped to uid: ' . $userData['uid'], ['app' => $this->appName]);
|
||||
throw new \InvalidArgumentException('No valid uid given, please check your attribute mapping. ' . $uidMapping . ' was mapped to uid: ' . $userData['uid']);
|
||||
$this->logger->error('No valid uid given, please check your attribute mapping. Got uid: {uid}', ['app' => $this->appName, 'uid' => $userData['uid']]);
|
||||
throw new \InvalidArgumentException('No valid uid given, please check your attribute mapping. Got uid: ' . $userData['uid']);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue