Skip to content

Commit 6b73895

Browse files
authored
Use @session directive (#1441)
1 parent b87e03f commit 6b73895

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

stubs/livewire/resources/views/auth/forgot-password.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
{{ __('Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.') }}
99
</div>
1010

11-
@if (session('status'))
11+
@session('status')
1212
<div class="mb-4 font-medium text-sm text-green-600 dark:text-green-400">
13-
{{ session('status') }}
13+
{{ $value }}
1414
</div>
15-
@endif
15+
@endsession
1616

1717
<x-validation-errors class="mb-4" />
1818

stubs/livewire/resources/views/auth/login.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77
<x-validation-errors class="mb-4" />
88

9-
@if (session('status'))
9+
@session('status')
1010
<div class="mb-4 font-medium text-sm text-green-600 dark:text-green-400">
11-
{{ session('status') }}
11+
{{ $value }}
1212
</div>
13-
@endif
13+
@endsession
1414

1515
<form method="POST" action="{{ route('login') }}">
1616
@csrf

0 commit comments

Comments
 (0)