From 8ba291afb2c3f517cbfd7bc67f79202fd23b92ba Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Sat, 17 Oct 2020 14:43:07 -0600 Subject: [PATCH] Fix Mount.php validation rules --- app/Models/Mount.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Mount.php b/app/Models/Mount.php index 69c47f01c..ee9879b19 100644 --- a/app/Models/Mount.php +++ b/app/Models/Mount.php @@ -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; }