Skip to content

Commit c3882ce

Browse files
committed
fix verification
1 parent ac39783 commit c3882ce

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

resources/js/pages/settings/profile.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ export default function Profile({ mustVerifyEmail, status }: { mustVerifyEmail:
7979

8080
{mustVerifyEmail && auth.user.email_verified_at === null && (
8181
<div>
82-
<p className="mt-2 text-sm text-neutral-800">
83-
Your email address is unverified.
82+
<p className="-mt-4 text-sm text-muted-foreground">
83+
Your email address is unverified.{' '}
8484
<Link
8585
href={route('verification.send')}
8686
method="post"
8787
as="button"
88-
className="rounded-md text-sm text-neutral-600 underline hover:text-neutral-900 focus:ring-2 focus:ring-offset-2 focus:outline-hidden"
88+
className="hover:decoration-current! text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out dark:decoration-neutral-500"
8989
>
90-
Click here to re-send the verification email.
90+
Click here to resend the verification email.
9191
</Link>
9292
</p>
9393

routes/web.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
return Inertia::render('welcome');
88
})->name('home');
99

10-
Route::middleware(['auth'])->group(function () {
10+
Route::middleware(['auth', 'verified'])->group(function () {
1111
Route::get('dashboard', function () {
1212
return Inertia::render('dashboard');
1313
})->name('dashboard');

0 commit comments

Comments
 (0)