Users field store data key

Hi all,

I have a question I can’t find the answer to.

Why users field store the email field instead of id?
You know that email may change but id won’t change.

Also id key works on panel but updating with email when page saved:



- feYobpjD


In same way, updating with email instead of id even send ID data like that:

    'customerId' => kirby()->user()->id(),

Thanks in advance.

1 Like

@ahmetbora the main reason was readability in the content files, but I get why this is an issue.

In increased the priority on the issue.