Fix typo for unique email check

This commit is contained in:
Nabeel Shahzad 2020-08-12 09:06:18 -04:00
parent 3ebf4f2924
commit ace7c42557

View File

@ -84,7 +84,7 @@ class RegisterController extends Controller
{ {
$rules = [ $rules = [
'name' => 'required|max:255', 'name' => 'required|max:255',
'email' => 'required|email|max:255|unique:users, email', 'email' => 'required|email|max:255|unique:users,email',
'airline_id' => 'required', 'airline_id' => 'required',
'home_airport_id' => 'required', 'home_airport_id' => 'required',
'password' => 'required|min:5|confirmed', 'password' => 'required|min:5|confirmed',