我在我的用户模型中实现了MustVerifyEmail接口 class User extends Authenticatable implements MustVerifyEmail 我也做了VerificationApi$notifiable->getKey()]
} 在我的api.phpRoute::get('email&
我正在构建一个web应用程序,用户可以在其中注册并发布问题。一切顺利,直到我尝试开发一个功能,用户将自动登录注册。Guard::login() must be an instance of Illuminate\Auth\UserInterface, instance of Member given"
当我用注册用户的文件实现这个类的时候我想Laravel 4已经改变了类在其上一个版本中的工作方