Skip to content

Commit 760e068

Browse files
authored
Add MustVerifyEmail
Added support for Laravel authentication when users need to check their emails to connect
1 parent e998cd0 commit 760e068

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Jenssegers/Mongodb/Auth/User.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Jenssegers\Mongodb\Auth;
44

5+
use Illuminate\Auth\MustVerifyEmail;
56
use Illuminate\Auth\Authenticatable;
67
use Illuminate\Auth\Passwords\CanResetPassword;
78
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
@@ -15,5 +16,5 @@ class User extends Model implements
1516
AuthorizableContract,
1617
CanResetPasswordContract
1718
{
18-
use Authenticatable, Authorizable, CanResetPassword;
19+
use Authenticatable, Authorizable, CanResetPassword, MustVerifyEmail;
1920
}

0 commit comments

Comments
 (0)