added guest_try_to_get_private_user_folder test

This commit is contained in:
Peter Papp
2021-03-10 06:47:09 +01:00
parent 891ca7260b
commit e164d1021c
3 changed files with 14 additions and 2 deletions

View File

@@ -257,7 +257,7 @@ class User extends Authenticatable
*/
protected static function boot()
{
parent::boot();
parent::booted();
static::creating(function ($user) {
$user->id = Str::uuid();