Don’t require superadmin for checkin and delete user

This commit is contained in:
snipe 2017-01-17 09:19:14 -08:00
parent 734e87f85f
commit b3f70a046f

View file

@ -511,9 +511,6 @@ class UsersController extends Controller
unset($user_raw_array[$key]);
}
if (!Auth::user()->isSuperUser()) {
return redirect()->route('users')->with('error', trans('admin/users/message.insufficient_permissions'));
}
if (!config('app.lock_passwords')) {