Apply Laravel 5.7 MustVerifyEmail on Multiple Authentication System

后端 未结 4 1145
清歌不尽
清歌不尽 2021-01-07 01:31

I\'m trying to apply Laravel-5.7 MustVerifyEmail on multiple authentication system. So far what I\'ve done is as follows:

  1. created verification routes for the \
4条回答
  •  难免孤独
    2021-01-07 02:25

    I modified the middleware parameter in the __construct and email verification worked for me. I'm using laravel 6. posting the answer here though the question is old

    public function __construct()
    {
        $this->middleware('auth:');
        $this->middleware('signed')->only('verify');
        $this->middleware('throttle:6,1')->only('verify', 'resend');
    }
    

提交回复
热议问题