User
Hello, how can I send the user_id that is logged in, in a hidden field to the database?
5 Replies
maybe you can do this
Please don't use
hidden
and use like this https://filamentphp.com/docs/3.x/panels/resources/creating-records#customizing-data-before-savingdid you have any particular reason why we shouldn't use
hidden
?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.. π
thanks guys, I will try with the implementations and I will let you know how it goes.