Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/akmamun/laravel-5.5-auth-email-verification

Laravel 5.5 Email Verify Authentication Using Job Queue
https://github.com/akmamun/laravel-5.5-auth-email-verification

authentication email-verification job-queue laravel laravel55 php verification

Last synced: about 2 months ago
JSON representation

Laravel 5.5 Email Verify Authentication Using Job Queue

Awesome Lists containing this project

README

        

# 1. env file mail setup
```php
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=null
```
# Note: Use this function in 'Auth/LoginController' to Overwrite Laravel Building Auth Login
- Laravel Building Auth Login Not Verify Email Login System, Overwrite User Can Not Access to Login Without Verified Mail
```php
use Illuminate\Http\Request;

protected function credentials(Request $request)
{
return array_merge($request->only($this->username(), 'password'), ['verified' => 1]);
}