Fix Mount.php validation rules

This commit is contained in:
Matthew Penner 2020-10-17 14:43:07 -06:00
parent 66b9169458
commit 8ba291afb2

View file

@ -74,7 +74,7 @@ class Mount extends Model
$rules = parent::getRules();
$rules['source'][] = new NotIn(Mount::$invalidSourcePaths);
$rules['target'][] = new NotIn(Mount::$invalidSourcePaths);
$rules['target'][] = new NotIn(Mount::$invalidTargetPaths);
return $rules;
}