We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edd0f8b commit dbd9472Copy full SHA for dbd9472
1 file changed
Security/User/LDAPUser.php
@@ -52,4 +52,9 @@ public function eraseCredentials()
52
public function getClass() {
53
return 'Mapbender\LDAPBundle\Security\User\LDAPUser';
54
}
55
+
56
+ public function __toString()
57
+ {
58
+ return $this->getUsername() ?: '';
59
+ }
60
0 commit comments