Unverified Commit 760e0688 authored by si2w's avatar si2w Committed by GitHub

Add MustVerifyEmail

Added support for Laravel authentication when users need to check their emails to connect
parent e998cd0a
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
namespace Jenssegers\Mongodb\Auth; namespace Jenssegers\Mongodb\Auth;
use Illuminate\Auth\MustVerifyEmail;
use Illuminate\Auth\Authenticatable; use Illuminate\Auth\Authenticatable;
use Illuminate\Auth\Passwords\CanResetPassword; use Illuminate\Auth\Passwords\CanResetPassword;
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract; use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
...@@ -15,5 +16,5 @@ class User extends Model implements ...@@ -15,5 +16,5 @@ class User extends Model implements
AuthorizableContract, AuthorizableContract,
CanResetPasswordContract CanResetPasswordContract
{ {
use Authenticatable, Authorizable, CanResetPassword; use Authenticatable, Authorizable, CanResetPassword, MustVerifyEmail;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment