⚠️ This issue respects the following points: ⚠️
Bug description
In #49115 the issue about a missing hint for the expiration date for link shares were fixed.
That's great so far.
There is also a new option "Enable link expiration", but the problem is if you uncheck this checkbox, the value will not be considered and if you look in the settings of this link share you can see that an expiration date was set.


Steps to reproduce
- Configure the following sharing settings:
- Create a link share and uncheck "Enable link expiration".
- Click on "Customise link" and see that an expiration date was set.
Expected behavior
If you have a look at the link settings the option "Set expiration date" should be unchecked like when creating the share.
Nextcloud Server version
30.0.6
Bug description
In #49115 the issue about a missing hint for the expiration date for link shares were fixed.
That's great so far.
There is also a new option "Enable link expiration", but the problem is if you uncheck this checkbox, the value will not be considered and if you look in the settings of this link share you can see that an expiration date was set.
Steps to reproduce
Expected behavior
If you have a look at the link settings the option "Set expiration date" should be unchecked like when creating the share.
Nextcloud Server version
30.0.6