Commit c967be90 authored by sandroresende's avatar sandroresende

download middleware httpsProtocolo

parent 94463564
......@@ -4,12 +4,15 @@ namespace App\Providers;
use App\User;
use Illuminate\Pagination\Paginator;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Blade;
......@@ -23,6 +26,8 @@ class AppServiceProvider extends ServiceProvider
public function boot()
{
URL::forceScheme('https');
Validator::extend('usuariobloqueado', function ($attribute, $value, $parameters, $validator) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment