diff --git a/app/Http/Controllers/Users/UsersController.php b/app/Http/Controllers/Users/UsersController.php index 227260369e..b3d4a9d379 100755 --- a/app/Http/Controllers/Users/UsersController.php +++ b/app/Http/Controllers/Users/UsersController.php @@ -484,7 +484,6 @@ class UsersController extends Controller $user->first_name = ''; $user->last_name = ''; $user->email = substr($user->email, ($pos = strpos($user->email, '@')) !== false ? $pos : 0); - $user->id = null; // Get this user groups diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php index a76c1cffa3..d80c89f702 100755 --- a/resources/views/users/edit.blade.php +++ b/resources/views/users/edit.blade.php @@ -200,7 +200,7 @@
{{ trans('general.feature_disabled') }}