Skip to content

Commit

Permalink
increased default token lifetime #72
Browse files Browse the repository at this point in the history
  • Loading branch information
RainerW committed May 4, 2012
1 parent e030267 commit 846e2aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public ActionResult createAction(KonferenzAction action, ActionState data)
entity.setActive(true);
entity.setCreator(authService.getCurrentUser());
entity.setTitle(data.getTitle());
int maxValidity = 5 * 24 * 60; // 5 Tage
int maxValidity = 21 * 24 * 60; // 21 Tage
DateTime result = DateTime.now().plus(Period.minutes(maxValidity));
entity.setExpiry(result.toDate());
entity.setUsed(0);
Expand Down

0 comments on commit 846e2aa

Please sign in to comment.