Commit 6134e065 authored by ZeMKI's avatar ZeMKI

Update User.php

* now you can delete a user correctly with the command.
parent 743f1ccd
......@@ -62,6 +62,15 @@ class User extends Authenticatable implements MustVerifyEmail
use Notifiable;
use SoftDeletes;
public static function boot()
static::deleting(static function ($user) {
* The attributes that are mass assignable.
* @var array
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment