I am developing a web application using laravel.
I want to implement email verification via https://laravel.com/docs/5.7/verification
I modified my User model to use MustVerifyEmail interface:
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use App\SecurityQustion;
class User extends Authenticatable implements MustVerifyEmail
{
use Notifiable;
And I am getting the following error:
Interface 'Illuminate\Contracts\Auth\MustVerifyEmail' not found
I verified in my vendor/laravel.../Auth/ folder and the file itself doesn't appear to be there.
To be noted:
- The Auth functionality works good, it was installed with
php artisan make:auth
, and the migrations generated were runned, so this is not the issue.