Skip to content

Commit

Permalink
My solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Abood-New committed Sep 24, 2024
1 parent 92f026b commit b6d65ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/ProfileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App\Http\Controllers;

use App\Http\Requests\ProfileUpdateRequest;
use Illuminate\Support\Facades\Hash;

class ProfileController extends Controller
{
Expand Down
4 changes: 2 additions & 2 deletions resources/views/auth/profile.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
<x-label for="name" :value="__('Name')" />

{{-- Task: replace ??? for name/email with logged in user's name/email --}}
<x-input id="name" class="block mt-1 w-full" type="text"
name="{{ auth()->user()->name }}" value="???" required />
<x-input id="name" class="block mt-1 w-full" type="text" name="name"
value="{{ auth()->user()->name }}" required />
</div>

<div class="mt-4">
Expand Down

0 comments on commit b6d65ba

Please sign in to comment.