Skip to content

Commit

Permalink
Fix for Jetstream #1018 (#1019)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Riddell authored Mar 25, 2022
1 parent 3346b39 commit fd3f102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/app/Actions/Fortify/CreateNewUserWithTeams.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function create(array $input)
'name' => ['required', 'string', 'max:255'],
'email' => ['required', 'string', 'email', 'max:255', 'unique:users'],
'password' => $this->passwordRules(),
'terms' => Jetstream::hasTermsAndPrivacyPolicyFeature() ? ['required', 'accepted'] : '',
'terms' => Jetstream::hasTermsAndPrivacyPolicyFeature() ? ['accepted', 'required'] : '',
])->validate();

return DB::transaction(function () use ($input) {
Expand Down

0 comments on commit fd3f102

Please sign in to comment.