mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 15:34:44 +02:00
Add Labels
This commit is contained in:
parent
5519931ee5
commit
9174de2d8c
@ -164,11 +164,13 @@ class EditProfile extends \Filament\Pages\Auth\EditProfile
|
|||||||
->content(fn () => new HtmlString("
|
->content(fn () => new HtmlString("
|
||||||
<div style='width: 300px'>$image</div>
|
<div style='width: 300px'>$image</div>
|
||||||
"))
|
"))
|
||||||
->helperText($secret),
|
->helperText('Setup Key: '. $secret),
|
||||||
TextInput::make('2facode')
|
TextInput::make('2facode')
|
||||||
|
->label('Code')
|
||||||
->requiredWith('2fapassword')
|
->requiredWith('2fapassword')
|
||||||
->helperText('Scan the QR code above using your two-step authentication app, then enter the code generated.'),
|
->helperText('Scan the QR code above using your two-step authentication app, then enter the code generated.'),
|
||||||
TextInput::make('2fapassword')
|
TextInput::make('2fapassword')
|
||||||
|
->label('Current Password')
|
||||||
->requiredWith('2facode')
|
->requiredWith('2facode')
|
||||||
->currentPassword()
|
->currentPassword()
|
||||||
->password()
|
->password()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user