Skip to content

Commit

Permalink
Fixes #255
Browse files Browse the repository at this point in the history
  • Loading branch information
dsbilling committed Feb 4, 2023
1 parent a7e7ade commit ff9e7e7
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 ff9e7e7

Please sign in to comment.