From 9174de2d8cc0b238d5f64b242750cd5ce7e2a7cf Mon Sep 17 00:00:00 2001 From: notCharles Date: Fri, 31 May 2024 17:24:03 -0400 Subject: [PATCH] Add Labels --- app/Filament/Resources/UserResource/Pages/EditProfile.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Filament/Resources/UserResource/Pages/EditProfile.php b/app/Filament/Resources/UserResource/Pages/EditProfile.php index 4b7c22b5d..d6eeac501 100644 --- a/app/Filament/Resources/UserResource/Pages/EditProfile.php +++ b/app/Filament/Resources/UserResource/Pages/EditProfile.php @@ -164,11 +164,13 @@ class EditProfile extends \Filament\Pages\Auth\EditProfile ->content(fn () => new HtmlString("
$image
")) - ->helperText($secret), + ->helperText('Setup Key: '. $secret), TextInput::make('2facode') + ->label('Code') ->requiredWith('2fapassword') ->helperText('Scan the QR code above using your two-step authentication app, then enter the code generated.'), TextInput::make('2fapassword') + ->label('Current Password') ->requiredWith('2facode') ->currentPassword() ->password()