Skip to content

Add a way to set custom validity per type in Tokens #301

@dereuromark

Description

@dereuromark

https://github.com/dereuromark/cakephp-tools/blob/master/docs/Model/Tokens.md#security-notes

Login links should not be WEEK by default, as might others
So here a static model prop is not gonna work out

We need to set maybe the validity directly into the records per row?
Then it can be customized per type via configure and read from there when saving.
Only if null, use default one (WEEK)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions