Skip to content

Instantly share code, notes, and snippets.

View eliurkis's full-sized avatar

Eliurkis Diaz eliurkis

View GitHub Profile
eliurkis / AuthServiceProvider.php
Created April 26, 2019 13:36
Make login case insensitive for PostgreSQL in Laravel Framework
namespace App\Providers;
use App\Policies\UserPolicy;
use App\Support\Auth\EloquentUserProvider;
use App\User;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Auth;