F
Filamentβ€’8mo ago
PaulaAndrea

User

Hello, how can I send the user_id that is logged in, in a hidden field to the database?
No description
5 Replies
Maru
Maruβ€’8mo ago
maybe you can do this
No description
Maru
Maruβ€’8mo ago
did you have any particular reason why we shouldn't use hidden?
Vp
Vpβ€’8mo ago
Because of this, https://filamentphp.com/docs/3.x/forms/fields/hidden what if someone inspect element and change user id to another? Someone can hack your site using html inspect.. πŸ˜†
PaulaAndrea
PaulaAndreaβ€’8mo ago
thanks guys, I will try with the implementations and I will let you know how it goes.
Want results from more Discord servers?
Add your server
More Posts