Fix typo for unique email check
This commit is contained in:
parent
3ebf4f2924
commit
ace7c42557
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user