vanilophp / docs

Vanilo Documentation (Laravel E-commerce)
https://vanilo.io/docs/
6 stars 9 forks source link

Installation Auth Support exemple issue #23

Closed shekenz closed 1 year ago

shekenz commented 1 year ago

In the Installation guide, Laravel Auth Support - Step 2, example given has the wrong namespace. I believe the example is inherited from v2.x.

Current :

// app/User.php
namespace App;

Should be :

// app/Models/User.php
namespace App\Models;

If an user follows the example or copypasta, he will get an error : Class App\Models\User must extend or implement Konekt\User\Contracts\User