mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
Refactoring
This commit is contained in:
@@ -12,7 +12,9 @@ class DumpTrashController extends Controller
|
||||
{
|
||||
public function __invoke(): Response
|
||||
{
|
||||
abort_if(is_demo_account('howdy@hi5ve.digital'), 204, 'Done!');
|
||||
abort_if(
|
||||
is_demo_account(Auth::user()->email), 204, 'Done!'
|
||||
);
|
||||
|
||||
$user_id = Auth::id();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user