From 8f408c7973032892651bdf11436ad574fdf8c5e5 Mon Sep 17 00:00:00 2001 From: Parag Padsumbiya Date: Thu, 23 Dec 2021 18:02:50 +0530 Subject: [PATCH] Remove Identity path validation through Regex --- shared/web/app/Http/Controllers/WizardController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/web/app/Http/Controllers/WizardController.php b/shared/web/app/Http/Controllers/WizardController.php index d794dd3d..4b8f7b61 100644 --- a/shared/web/app/Http/Controllers/WizardController.php +++ b/shared/web/app/Http/Controllers/WizardController.php @@ -119,9 +119,9 @@ public function validateHost(Request $request) { public function saveConfig(Request $request) { $data = $request->all(); - $validatedData = $this->validate($request, [ - 'identity' => ['required', 'regex:/^\/$|(\/[a-zA-Z_0-9-]+)+$/'] - ]); +// $validatedData = $this->validate($request, [ +// 'identity' => ['required', 'regex:/^\/$|(\/[a-zA-Z_0-9-]+)+$/'] +// ]); $email = $data['email']; $address = $data['address']; $host = $data['host'];