Skip to content

mod_unified_push: increase max expiration to 60 days and default 7 days#373

Open
stratself wants to merge 1 commit intoprocessone:masterfrom
stratself:master
Open

mod_unified_push: increase max expiration to 60 days and default 7 days#373
stratself wants to merge 1 commit intoprocessone:masterfrom
stratself:master

Conversation

@stratself
Copy link
Copy Markdown

@stratself stratself commented Mar 18, 2026

Fixes #372

If you'd rather use proper datetime formats (e.g. 60d) feel free to supercede this PR

@stratself stratself changed the title mod_unified_push: increase maximum expiration to 60 days and default mod_unified_push: increase max expiration to 60 days and default 7 days Mar 18, 2026
Signed-off-by: stratself <126093083+stratself@users.noreply.github.com>

-spec mod_opt_type(atom()) -> econf:validator().
mod_opt_type(expiration) ->
%% TODO is there an upper bound for the validity of the JWT token?
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR and sorry for being a buzzkill, but I would rather not drop this TODO (or any of the other TODOs) without giving an answer in the commit message or related pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mod_unified_push: Increase expiration

2 participants