do not clear invalid SIDs
This commit is contained in:
parent
b5086bc156
commit
9140f985ff
|
@ -409,6 +409,7 @@ class sambaDomain extends baseModule {
|
|||
$errors = array();
|
||||
if ($this->getAccountContainer()->isNewAccount) {
|
||||
// domain SID
|
||||
$this->attributes['sambaSID'][0] = $_POST['domainSID'];
|
||||
if (!get_preg($_POST['domainSID'], 'domainSID')) {
|
||||
$errors[] = $this->messages['domainSID'][0];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue