Skip to content

Instantly share code, notes, and snippets.

View eliurkis's full-sized avatar
🎯
Focusing

Eliurkis Diaz eliurkis

🎯
Focusing
View GitHub Profile
@eliurkis
eliurkis / AuthServiceProvider.php
Created April 26, 2019 13:36
Make login case insensitive for PostgreSQL in Laravel Framework
<?php
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;