Skip to content

Commit 20dacf7

Browse files
authored
code: remove unused props (#95)
1 parent f599a00 commit 20dacf7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

app/Http/Controllers/Settings/PasswordController.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,9 @@ class PasswordController extends Controller
1616
/**
1717
* Show the user's password settings page.
1818
*/
19-
public function edit(Request $request): Response
19+
public function edit(): Response
2020
{
21-
return Inertia::render('settings/password', [
22-
'mustVerifyEmail' => $request->user() instanceof MustVerifyEmail,
23-
'status' => $request->session()->get('status'),
24-
]);
21+
return Inertia::render('settings/password');
2522
}
2623

2724
/**

0 commit comments

Comments
 (0)