用户必须实现CanResetPassword接口。 密码重置Laravel 5.4

password reset issue

User.php

namespace App;
use Eloquent;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Auth\Authenticatable as AuthenticableTrait;

class User extends Eloquent implements Authenticatable { use AuthenticableTrait;

Add the interface CanResetPassword to your User class:

// at the top of the file
use Illuminate\Auth\Passwords\CanResetPassword;

// at the class declaration
class User extends Eloquent implements Authenticatable, CanResetPassword
{
    // ...
}