Skip to content

Commit

Permalink
Merge pull request #257 from P3D-Legacy/255-gamejolt-account-name-length
Browse files Browse the repository at this point in the history
  • Loading branch information
dsbilling authored Feb 4, 2023
2 parents a7e7ade + ff9e7e7 commit ada8b71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Http/Livewire/Login/GameJolt.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function save()
$this->resetValidation();

$this->validate([
'username' => ['required', 'alpha_dash', 'max:30', 'min:4'],
'username' => ['required', 'alpha_dash', 'max:30', 'min:3'],
'token' => ['required', 'alpha_dash', 'max:30', 'min:4'],
]);

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Livewire/Profile/ConnectGamejoltAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function save()
'nullable',
'alpha_dash',
'max:30',
'min:4',
'min:3',
Rule::unique('game_jolt_accounts')->ignore($user->id, 'user_id'),
],
'token' => ['nullable', 'alpha_dash', 'max:30', 'min:4'],
Expand Down

0 comments on commit ada8b71

Please sign in to comment.