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