Browse Source
typo + phpdoc
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/8634/head
Arthur Schiwon
8 years ago
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with
2 additions and
1 deletions
-
apps/user_ldap/lib/Access.php
|
|
|
@ -587,7 +587,7 @@ class Access extends LDAPUtility implements IUserTools { |
|
|
|
'level' => Util::WARN, |
|
|
|
]); |
|
|
|
// we don't attempt to set a username here. We can go for
|
|
|
|
// for an alternativ 4 digit random number as we would append
|
|
|
|
// for an alternative 4 digit random number as we would append
|
|
|
|
// otherwise, however it's likely not enough space in bigger
|
|
|
|
// setups, and most importantly: this is not intended.
|
|
|
|
return false; |
|
|
|
@ -1304,6 +1304,7 @@ class Access extends LDAPUtility implements IUserTools { |
|
|
|
/** |
|
|
|
* @param string $name |
|
|
|
* @return string |
|
|
|
* @throws \InvalidArgumentException |
|
|
|
*/ |
|
|
|
public function sanitizeUsername($name) { |
|
|
|
if($this->connection->ldapIgnoreNamingRules) { |
|
|
|
|