mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
v1.7 alpha.4
This commit is contained in:
@@ -212,6 +212,10 @@ class UserController extends Controller
|
||||
{
|
||||
$user = User::findOrFail($id);
|
||||
|
||||
if ($user->subscribed('main')) {
|
||||
abort(202, 'You can\'t delete this account while user have active subscription.');
|
||||
}
|
||||
|
||||
// Demo preview
|
||||
if (env('APP_DEMO')) {
|
||||
return response('Done!', 204);
|
||||
|
||||
Reference in New Issue
Block a user