Daniel Supernault 6 years ago
parent
commit
5f9efbea3f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Controllers/SettingsController.php

+ 1 - 0
app/Http/Controllers/SettingsController.php

@@ -176,6 +176,7 @@ class SettingsController extends Controller
         $profile->save();
         Cache::forget('profiles:private');
         Auth::logout();
+        DeleteAccountPipeline::dispatch($user);
         return redirect('/');
     }