You will need a registrationDate column in the users table
set the default value for the registration date to:
CURRENT_TIMESTAMP
when a new users is registered, it will automatically store the registration date in the format:
YYY-mm-dd
on the login page, edit the Security Assist authenticate user behavior, on the sessions tab, make note of the user ID sesson name that already exists, and click the plus button to add the registration date column to be stored as a session
in the security assist rule will use the date() and mktime() php functions to convert the current date to a time stamp, and convert the registration date to a timestamp with 14 days added
set the rule up as:
Restrict IF
Value: Click the lightning bolt icon and select the user ID Session
Criteria: =
Compare to: Leave this blank
Allow IF
Value: enter the following code:
<?php echo (mktime(0, 0, 0, date("m", strtotime($_SESSION['regDate'])), date("d", strtotime($_SESSION['regDate'])) + 14, date("Y", strtotime($_SESSION['regDate'])))); ?>
this assumes the session for the registration date is "regDate".
Criteria: =>
Compare to: enter the following code:
<?php echo (mktime(0, 0, 0, date("m"), date("d"), date("Y"))); ?>