diff --git a/app/User.php b/app/User.php index fbc0e589..54854c16 100644 --- a/app/User.php +++ b/app/User.php @@ -27,4 +27,13 @@ class User extends Authenticatable protected $hidden = [ 'password', 'remember_token', ]; + + /** + * The attributes that should be mutated to dates. + * + * @var array + */ + protected $dates = [ + 'email_verified_at', + ]; }