Skip to content

Resolve #3342321 "create with specific validity and deletion options"

Closes #3342321

Add options to the create function API to allow overwriting the temporal validity and unique use of the created link

With these changes it is possible to use auto_login_url to propose passwordless login links with a unique use and a short validity, while still offering links with longer validity on other pages of the site (I am writing a modification to the super_login module to implement this feature). These 2 options added to the auto_login_url_create function are defined with a default value = NULL to ensure backward compatibility (no impact on previous versions).

Edited by Olivier Hertrich

Merge request reports