Skip to content

Commit

Permalink
Merge branch 'develop' into feature/update-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt authored Jul 22, 2024
2 parents 0e35184 + c7ea413 commit aa1470a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ Example (in `metadata/saml20-idp-hosted.php`):
// Optional:
'warnDaysBefore' => 14,
'originalUrlParam' => 'originalurl',
'dateFormat' => 'm.d.Y', // Use PHP's date syntax.
'loggerClass' => '\\Sil\\Psr3Adapters\\Psr3SamlLogger',
],

Expand All @@ -187,11 +186,6 @@ their password.
The `warnDaysBefore` parameter should be an integer representing how many days
before the expiry date the "about to expire" warning will be shown to the user.

The `dateFormat` parameter specifies how you want the date to be formatted,
using PHP `date()` syntax. See <http://php.net/manual/en/function.date.php>.

The `originalUrlParam` parameter is not used.

The `loggerClass` parameter specifies the name of a PSR-3 compatible class that
can be autoloaded, to use as the logger within ExpiryDate.

Expand Down
5 changes: 0 additions & 5 deletions modules/expirychecker/src/Auth/Process/ExpiryDate.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class ExpiryDate extends ProcessingFilter
private string|null $accountNameAttr = null;
private string $employeeIdAttr = 'employeeNumber';
private string|null $expiryDateAttr = null;
private string $dateFormat = 'Y-m-d';

protected LoggerInterface $logger;

Expand Down Expand Up @@ -70,10 +69,6 @@ public function __construct(array $config, mixed $reserved)
Validator::STRING,
Validator::NOT_EMPTY,
],
'dateFormat' => [
Validator::STRING,
Validator::NOT_EMPTY,
],
]);
}

Expand Down

0 comments on commit aa1470a

Please sign in to comment.