From b6d65bac6712a79948657f31d5ad3f39800aa5f9 Mon Sep 17 00:00:00 2001 From: Abdalrhman-Jabri Date: Tue, 24 Sep 2024 20:51:59 +0300 Subject: [PATCH] My solution --- app/Http/Controllers/ProfileController.php | 1 + resources/views/auth/profile.blade.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index e054c486..56b1bd54 100644 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -3,6 +3,7 @@ namespace App\Http\Controllers; use App\Http\Requests\ProfileUpdateRequest; +use Illuminate\Support\Facades\Hash; class ProfileController extends Controller { diff --git a/resources/views/auth/profile.blade.php b/resources/views/auth/profile.blade.php index c4183886..f90440d8 100644 --- a/resources/views/auth/profile.blade.php +++ b/resources/views/auth/profile.blade.php @@ -25,8 +25,8 @@ {{-- Task: replace ??? for name/email with logged in user's name/email --}} - +