Enable packet passwords to be optional, configured by the admin in setup
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 42s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m43s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
2025-01-29 09:42:15 +11:00
parent 8cc561ea2b
commit c9eee48c6a
6 changed files with 33 additions and 11 deletions

View File

@@ -27,7 +27,7 @@ class SystemSessionRequest extends FormRequest
return [
'zone_id' => 'required|exists:zones,id',
'sespass' => 'required|string|min:4',
'pktpass' => 'required|string|min:4|max:8',
'pktpass' => [$this->route('o')->pkt_passwds ? 'required' : 'nullable','string','min:4','max:8'],
'ticpass' => 'required|string|min:4',
'fixpass' => 'required|string|min:4',
];