Files
snipe-it/app/Http/Controllers/Assets/AssetCheckoutController.php
Daniel Meltzer f8d18a8eb0 Revert asset-checkout-different validation.
This was causing issues when trying to check an item out to a user or a
location because of the way laravel handles validation.

Instead, rely on the exception check we had in the controller.  I moved
this exception up to the model checkout method so that it would work
for anywhere that that method was called, even if it avoided the
controller.
2020-04-29 10:59:00 -04:00

3.3 KiB