Skip to content

Instantly share code, notes, and snippets.

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
View AuthServiceProvider.php
<?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;