Nextcloud files and share-by-email

Hello everybody,
I find the new share-by-email feature introduced with version 24 very useful and I hope it can improve with the suggested feature requests (i.e. Allow temporary email passwords to be one-time use only · Issue #32353 · nextcloud/server · GitHub) in the near future.
Anyway, I have two questions that I haven’t found an answer to in the documentation:

  1. What is the password validity period by default? 1 day?
  2. Is it possible to configure the default password validity period (maybe via a system value)?

Thank you,

Just found on the documentation