@@ -25,7 +25,7 @@ on the standard Config class if nothing is found in the database.
2525## User Providers
2626
2727You can use your own models to handle user persistence. Shield calls this the "User Provider" class. A default model
28- is provided for you at ` CodeIgniter\Shield\Models\UserModel ` . You can change this in the ` Config\Auth-> userProvider ` setting.
28+ is provided for you at ` CodeIgniter\Shield\Models\UserModel ` . You can change this in the ` Config\Auth::$ userProvider ` setting.
2929The only requirement is that your new class MUST extend the provided ` UserModel ` .
3030
3131``` php
@@ -57,13 +57,13 @@ systems that are appropriate for your application. The following Validators are
5757 like ensuring it contained a symbol, a number, etc. According to the current
5858 [ NIST recommendations] ( https://pages.nist.gov/800-63-3/sp800-63b.html ) this only enforces a
5959 minimum length on the password. You can define the minimum length in
60- ` Config\Auth->public $minimumPasswordLength; ` This is enabled by default. The default minimum
60+ ` Config\Auth:: $minimumPasswordLength ` This is enabled by default. The default minimum
6161 value is ` 8 ` .
6262- ** NothingPersonalValidator** will compare the password against any fields that have been specified
63- in ` Config\Auth-> personalFields ` , like first or last names, etc. Additionally, it compares it
63+ in ` Config\Auth::$ personalFields ` , like first or last names, etc. Additionally, it compares it
6464 against a few simple variations of the username. If the given password too closely matches
6565 any of the personal information, it will be rejected. The similarity value is defined in
66- ` Config\Auth-> maxSimilarity ` . The default value is 50, but see the docblock in the config
66+ ` Config\Auth::$ maxSimilarity ` . The default value is 50, but see the docblock in the config
6767 file for more details. This is enabled by default.
6868- ** DictionaryValidator** will compare the password against a provided file with about 600,000
6969 frequently used passwords that have been seen in various data dumps over the years. If the
@@ -76,7 +76,7 @@ systems that are appropriate for your application. The following Validators are
7676 find acceptable. You should use either this validator or the ` DictionaryValidator ` , not both.
7777 This is disabled by default.
7878
79- You can choose which validators are used in ` Config\Auth-> passwordValidators ` :
79+ You can choose which validators are used in ` Config\Auth::$ passwordValidators ` :
8080
8181``` php
8282public $passwordValidators = [
0 commit comments