Fix Mount.php validation rules
This commit is contained in:
parent
66b9169458
commit
8ba291afb2
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class Mount extends Model
|
||||||
$rules = parent::getRules();
|
$rules = parent::getRules();
|
||||||
|
|
||||||
$rules['source'][] = new NotIn(Mount::$invalidSourcePaths);
|
$rules['source'][] = new NotIn(Mount::$invalidSourcePaths);
|
||||||
$rules['target'][] = new NotIn(Mount::$invalidSourcePaths);
|
$rules['target'][] = new NotIn(Mount::$invalidTargetPaths);
|
||||||
|
|
||||||
return $rules;
|
return $rules;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue