diff --git a/modules/radius/docs/radius.md b/modules/radius/docs/radius.md index ae5e70d3afa29370e7592adad844d2f22cc3558c..cca9e1ab9c14d9555a0f33a9af9e92abedc18028 100644 --- a/modules/radius/docs/radius.md +++ b/modules/radius/docs/radius.md @@ -14,7 +14,7 @@ To use this module, enable the radius module by creating a file named authentication source which uses the `radius:Radius` module to `config/authsources.php`: - 'example-radius' => array( + 'example-radius' => [ 'radius:Radius', /* @@ -24,12 +24,18 @@ authentication source which uses the `radius:Radius` module to * - port: the port of the radius server. Optional, defaults to 1812. * - secret: the radius secret to use with this server. Required. */ - 'servers' => array(array('hostname' => 'radius1.example.org', - 'port' => 1812, - 'secret' => 'topsecret'), - array('hostname' => 'radius2.example.org', - 'port' => 1812, - 'secret' => 'topsecret')), + 'servers' => [ + [ + 'hostname' => 'radius1.example.org', + 'port' => 1812, + 'secret' => 'topsecret' + ], + [ + 'hostname' => 'radius2.example.org', + 'port' => 1812, + 'secret' => 'topsecret' + ] + ], /* * The timeout for contacting the RADIUS server, in seconds. @@ -67,7 +73,7 @@ authentication source which uses the `radius:Radius` module to * Optional, defaults to NULL. */ 'username_attribute' => 'eduPersonPrincipalName', - ), + ], User attributes