55 * If you have a ./config/autoload/ directory set up for your project, you can
66 * drop this config file in it and change the values as you wish.
77 */
8- $settings = array(
8+ $settings = [
99 /**
1010 * Laminas\Db\Adapter\Adapter DI Alias
1111 *
@@ -50,7 +50,7 @@ $settings = array(
5050 * Default value: array containing 'ZfcUser\Authentication\Adapter\Db' with priority 100
5151 * Accepted values: array containing services that implement 'ZfcUser\Authentication\Adapter\ChainableAdapter'
5252 */
53- 'auth_adapters' => array( 100 => 'ZfcUser\Authentication\Adapter\Db' ) ,
53+ 'auth_adapters' => [ 100 => 'ZfcUser\Authentication\Adapter\Db'] ,
5454
5555 /**
5656 * Enable Display Name
@@ -71,7 +71,7 @@ $settings = array(
7171 * Default value: array containing 'email'
7272 * Accepted values: array containing one or more of: email, username
7373 */
74- //'auth_identity_fields' => array( 'email' ) ,
74+ //'auth_identity_fields' => [ 'email'] ,
7575
7676 /**
7777 * Login form timeout
@@ -111,21 +111,30 @@ $settings = array(
111111 */
112112 //'use_registration_form_captcha' => false,
113113
114+
115+ /**
116+ * Login Form Captcha
117+ *
118+ * Determines if a captcha should be utilized on the user login form.
119+ * Default value is false.
120+ */
121+ //'use_login_form_captcha' => false,
122+
114123 /**
115124 * Form Captcha Options
116125 *
117126 * Currently used for the registration form, but re-usable anywhere. Use
118127 * this to configure which Laminas\Captcha adapter to use, and the options to
119128 * pass to it. The default uses the Figlet captcha.
120129 */
121- /*'form_captcha_options' => array(
130+ /*'form_captcha_options' => [
122131 'class' => 'figlet',
123- 'options' => array(
132+ 'options' => [
124133 'wordLen' => 5,
125134 'expiration' => 300,
126135 'timeout' => 300,
127- ) ,
128- ) ,*/
136+ ] ,
137+ ] ,*/
129138
130139 /**
131140 * Use Redirect Parameter If Present
@@ -210,7 +219,7 @@ $settings = array(
210219 * Include null if you want user's with no state to login as well.
211220 * Allowed value types: null and integer
212221 */
213- //'allowed_login_states' => array( null, 1 ) ,
222+ //'allowed_login_states' => [ null, 1] ,
214223
215224 /**
216225 * User table name
@@ -220,16 +229,16 @@ $settings = array(
220229 /**
221230 * End of ZfcUser configuration
222231 */
223- ) ;
232+ ] ;
224233
225234/**
226235 * You do not need to edit below this line
227236 */
228- return array(
237+ return [
229238 'zfcuser' => $settings,
230- 'service_manager' => array(
231- 'aliases' => array(
239+ 'service_manager' => [
240+ 'aliases' => [
232241 'zfcuser_zend_db_adapter' => (isset($settings['zend_db_adapter'])) ? $settings['zend_db_adapter']: 'Laminas\Db\Adapter\Adapter',
233- ) ,
234- ) ,
235- ) ;
242+ ] ,
243+ ] ,
244+ ] ;
0 commit comments