Skip to content

Commit a07a768

Browse files
committed
Hide the password field when editing a user
1 parent 420c10b commit a07a768

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/sprinkles/admin/src/Controller/UserController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ public function getModalEdit($request, $response, $args)
623623

624624
// Generate form
625625
$fields = [
626-
'hidden' => ['theme'],
626+
'hidden' => ['theme', 'password'],
627627
'disabled' => ['user_name']
628628
];
629629

0 commit comments

Comments
 (0)