sebastienheyd / boilerplate

Laravel AdminLTE 3 Boilerplate package with blade components, users, roles and permissions management
MIT License
217 stars 65 forks source link

Route [verification.notice] not defined. #56

Closed cod3rshotout closed 2 years ago

cod3rshotout commented 2 years ago

If I use the verified middleware:

public function __construct()
{
    $this->middleware(['auth', 'verified']);
}

I get:

Route [verification.notice] not defined.

The problem seems to be related to the boilerplate route file, in particular to this line:

'as'         => 'boilerplate.',

So if I remove boilerplate. the error goes away but then I get:

Route [boilerplate.verification.send] not defined.

Could you please look into this?

Thanks in advance

sebastienheyd commented 2 years ago

You have to use boilerplate.emailverified instead of verified

The middleware will redirect to boilerplate.verification.notice instead of verification.notice

cod3rshotout commented 2 years ago

You have to use boilerplate.emailverified instead of verified

The middleware will redirect to boilerplate.verification.notice instead of verification.notice

Thanks, if you have time, I asked you a question some weeks ago on boilerplate-media-manager