Skip to content

Commit

Permalink
Update UsersManagementController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremykenedy authored Jul 9, 2020
1 parent 097c30f commit 393d21e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App/Http/Controllers/UsersManagementController.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public function update(Request $request, $id)
];

if ($emailCheck) {
$rules['email'] = 'required|email|max:255|unique:users|alpha_dash';
$rules['email'] = 'required|email|max:255|unique:users';
}

if ($passwordCheck) {
Expand Down

0 comments on commit 393d21e

Please sign in to comment.