J
J
jazzus2019-01-30 08:09:03
Laravel
jazzus, 2019-01-30 08:09:03

Why doesn't Email Verification work?

I do everything according to the docks
Enabled in the route Added the verified middleware to the route group (by the way, did it add it correctly? I did it without an example by typing)
Auth::routes(['verify' => true]);

Route::group(['prefix' => 'articles', 'middleware' => ['roleGroup:'.CheckRole::AUTHORS,'verified']], function () {
роуты
});

Fields of the table checked up, classes are connected to the user.
At the same time, the user is not verified (null by the confirmation date), but verified does not work for routes and does not limit. No messages, errors, etc. at all. Where to look?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jazzus, 2019-01-30
@jazzus

In the User model, a contract must be connected. implements MustVerifyEmail after extends Authenticatable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question