refactor: make password input revealable in ChangePasswordAction
This commit is contained in:
parent
785e425dee
commit
10d80e8f8c
@ -26,6 +26,7 @@ protected function setUp(): void
|
|||||||
->password()
|
->password()
|
||||||
->required()
|
->required()
|
||||||
->minLength(8)
|
->minLength(8)
|
||||||
|
->revealable(filament()->arePasswordsRevealable())
|
||||||
->default(config('auth.password_default')),
|
->default(config('auth.password_default')),
|
||||||
])
|
])
|
||||||
->action(function (User $record, array $data): void {
|
->action(function (User $record, array $data): void {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user