Sha256: 182d6101f899f1f13be9abb867f37de0a6ff0e537e09fde278ca6d585d7d629a

Contents?: true

Size: 1.05 KB

Versions: 37

Compression:

Stored size: 1.05 KB

Contents

= Documentation for Password Grace Period Feature

The password grace period feature keeps track of the last time the
user entered their password in the session, and doesn't require they reenter their
password for account modifications if they recently entered it correctly.

If you would like to provide extra security before certain routes, you can use
the confirm password feature to require users to reenter their password if they
haven't entered it recently:

  rodauth.require_password_authentication

By default, this does not redirect if the session has been authenticated via
password, but with the password_grace_period feature, it also redirects if the
password has not been entered recently.

== Auth Value Methods

last_password_entry_session_key :: The session key in which to store the last password entry time.
password_grace_period :: The number of seconds after a password entry until password reentry is required, 300 by default (5 minutes).

== Auth Methods

password_recently_entered? :: Whether the password has last been entered within the grace period.

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
rodauth-2.16.0 doc/password_grace_period.rdoc
rodauth-2.15.0 doc/password_grace_period.rdoc
rodauth-2.14.0 doc/password_grace_period.rdoc
rodauth-2.13.0 doc/password_grace_period.rdoc
rodauth-2.12.0 doc/password_grace_period.rdoc
rodauth-2.11.0 doc/password_grace_period.rdoc
rodauth-2.10.0 doc/password_grace_period.rdoc
rodauth-2.9.0 doc/password_grace_period.rdoc
rodauth-2.8.0 doc/password_grace_period.rdoc
rodauth-2.7.0 doc/password_grace_period.rdoc
rodauth-2.6.0 doc/password_grace_period.rdoc
rodauth-2.5.0 doc/password_grace_period.rdoc
rodauth-2.4.0 doc/password_grace_period.rdoc
rodauth-2.3.0 doc/password_grace_period.rdoc
rodauth-2.2.0 doc/password_grace_period.rdoc
rodauth-2.1.0 doc/password_grace_period.rdoc
rodauth-2.0.0 doc/password_grace_period.rdoc