diff --git a/app/Http/Controllers/SystemController.php b/app/Http/Controllers/SystemController.php index 6c55a55..91728bb 100644 --- a/app/Http/Controllers/SystemController.php +++ b/app/Http/Controllers/SystemController.php @@ -262,8 +262,8 @@ class SystemController extends Controller $validate = $request->validate([ 'zone_id' => 'required|exists:zones,id', 'sespass' => 'required|string|min:4', - 'pktpass' => 'nullable|string|min:4|max:8', - 'ticpass' => 'nullable|string|min:4', + 'pktpass' => 'required|string|min:4|max:8', + 'ticpass' => 'required|string|min:4', 'fixpass' => 'required|string|min:4', ]); diff --git a/resources/views/system/form-session.blade.php b/resources/views/system/form-session.blade.php index 98f60f9..ce9c038 100644 --- a/resources/views/system/form-session.blade.php +++ b/resources/views/system/form-session.blade.php @@ -59,10 +59,12 @@