Check whether or not user has verification_token when attempting to log in
MODIFY
app/Http/Controllers/LoginController.php
app/Http/Controllers/LoginController.php
@@ -13,7 +13,8 @@ class LoginController extends Controller {
public function store(Request $request) {
if (Auth::attempt([
'email' => $request->input('email'),
- 'password' => $request->input('password')
+ 'password' => $request->input('password'),
+ 'verification_token' => null
])) {
$user = Auth::user();

Check whether or not user has verification_token when attempting to log in