Sha256: c03736b3d23b12328c73888940a556b2ac5307e0fb76090536bb4bc00319b047

Contents?: true

Size: 1.4 KB

Versions: 46

Compression:

Stored size: 1.4 KB

Contents

= Documentation for Disallow Common Passwords Feature

The disallow common passwords feature disallows setting of a password
that matches one of the most common passwords.  By default, a list of
10,000 of the most common passwords is used, but you can supply your
own file.  Using a larger list is recommended, but Rodauth doesn't
ship with a larger list to avoid bloating the size of the gem.

== Auth Value Methods

most_common_passwords :: An object that responds to +include?+ which will return true if the password given is one of the most common passwords. Useful for custom password sets where they are not stored in files and kept in memory.
most_common_passwords_file :: The path to the file containing the most common passwords, which are not allowed to be used for new passwords.  Defaults to a list of 10,000 most common passwords that ships with Rodauth.  Can be set to nil/false if you do not want to to load common passwords from a file.
password_is_one_of_the_most_common_message :: The error message fragment to display if the given password matches one of the most common passwords.

== Auth Methods

password_one_of_most_common?(password) :: This can be used to override the default check for whether the given password is contained in the most_common_passwords_file.  This method may be useful when using very large password databases where you don't want to keep the list of most common passwords in memory.

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
rodauth-2.36.0 doc/disallow_common_passwords.rdoc
rodauth-2.34.0 doc/disallow_common_passwords.rdoc
rodauth-2.33.0 doc/disallow_common_passwords.rdoc
rodauth-2.32.0 doc/disallow_common_passwords.rdoc
rodauth-2.31.0 doc/disallow_common_passwords.rdoc
rodauth-2.30.0 doc/disallow_common_passwords.rdoc
rodauth-2.29.0 doc/disallow_common_passwords.rdoc
rodauth-2.28.0 doc/disallow_common_passwords.rdoc
rodauth-2.27.0 doc/disallow_common_passwords.rdoc
rodauth-2.26.1 doc/disallow_common_passwords.rdoc
rodauth-2.26.0 doc/disallow_common_passwords.rdoc
rodauth-2.25.0 doc/disallow_common_passwords.rdoc
rodauth-2.24.0 doc/disallow_common_passwords.rdoc
rodauth-2.23.0 doc/disallow_common_passwords.rdoc
rodauth-2.22.0 doc/disallow_common_passwords.rdoc
rodauth-2.21.0 doc/disallow_common_passwords.rdoc
rodauth-2.20.0 doc/disallow_common_passwords.rdoc
rodauth-2.19.0 doc/disallow_common_passwords.rdoc
rodauth-2.18.0 doc/disallow_common_passwords.rdoc
rodauth-2.17.0 doc/disallow_common_passwords.rdoc