Skip to content

Instantly share code, notes, and snippets.

@andyyou
Created October 23, 2020 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andyyou/587185a2211656c76fbfe43b361655ca to your computer and use it in GitHub Desktop.
Save andyyou/587185a2211656c76fbfe43b361655ca to your computer and use it in GitHub Desktop.
Markdium-Laravel 8 - Integrate Jetstream + Socialite in 30 mins
// app/Actions/Fortify/CreateNewUser.php@create
// app/Actions/Fortify/UpdateUserProfileInformation.php@update
// unique rule
Validator::make($input, [
'name' => ['required', 'string', 'max:255'],
'email' => ['required', 'string', 'email', 'max:255', 'unique:users,email,NULL,id,deleted_at,NULL'],
'password' => $this->passwordRules(),
])->validate();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment