realm => 'restricted area',
cache_fail => 0,
cache_max_age => 5 * 60,
- token_max_age => 60 * 60 * 24,
+ token_max_age => 60 * 60,
username_regex => qr/^\w{2,20}$/a,
register_url => '/action/register',
passwd_url => '/action/passwd',
AuthComplex sets REMOTE_USER if the request includes correct basic
authentication and intercepts POST requests to some configurable URLs.
-It also sets C<$env->{authcomplex}> to itself before passing the
+It also sets C<< $env->{authcomplex} >> to itself before passing the
request.
Some options can be controlled by passing a hashref to the
=item token_max_age
-Password reset token validity, in seconds. Defaults to 24 hours.
+Password reset token validity, in seconds. Defaults to 1 hour.
=item username_regex