Skip to content

Commit

Permalink
Remove Identity path validation through Regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Parag Padsumbiya committed Dec 23, 2021
1 parent 4302714 commit 8f408c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shared/web/app/Http/Controllers/WizardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 8f408c7

Please sign in to comment.