@if(isset($_GET['token']))
@php
$perc = DB::table('password_resets')->where('token', '=', $_GET['token'])->first();
$user_id = $perc->email;
$user = DB::table('users')->where('id', '=', $user_id)->first();
@endphp
@endif
CHEAP CAR TRANSPORT
Recover your Password
@if ($errors->has('email') || $errors->has('password'))
Error! {{ $errors->first('email') }}
@endif
@if(session()->has('success'))
Congratulations! {{ session()->get('success') }}
@endif