Skip to content

Commit 9270b5f

Browse files
authored
Update 12-security.md
1 parent 85fc125 commit 9270b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/documentation/docs/tutorial/03-Customization/12-security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ So to completely hide the email field from all users apart superadmins, you shou
203203
backendOnly: ({ adminUser }: { adminUser: AdminUser }) => adminUser.dbUser.role === 'superadmin',
204204
showIn: {
205205
all: false,
206-
list: (user: AdminUser) => user.dbUser.role === 'superadmin',
206+
list: ({ adminUser }: { adminUser: AdminUser }) => adminUser.dbUser.role === 'superadmin',
207207
},
208208
}
209209
```

0 commit comments

Comments
 (0)