filter " ", -, _ in suggested user names
This commit is contained in:
parent
b41487794d
commit
bf77abb0c1
|
@ -2718,7 +2718,9 @@ class posixAccount extends baseModule implements passwordService {
|
|||
$format = str_replace('%' . $wc . '%', $value, $format);
|
||||
}
|
||||
}
|
||||
return str_replace(array_keys($this->umlautReplacements), array_values($this->umlautReplacements), strtolower($format));
|
||||
$format = str_replace(array_keys($this->umlautReplacements), array_values($this->umlautReplacements), strtolower($format));
|
||||
$format = str_replace(array(' ', '_', '-'), array('', '', ''), $format);
|
||||
return $format;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue