Skip to content

Commit

Permalink
Fix markdown syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed May 20, 2022
1 parent 42601d4 commit 4bef7ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
@@ -1,3 +1,5 @@
# Module for RADIUS authentication

![Build Status](https://github.com/simplesamlphp/simplesamlphp-module-radius/workflows/CI/badge.svg?branch=master)
[![Coverage Status](https://codecov.io/gh/simplesamlphp/simplesamlphp-module-radius/branch/master/graph/badge.svg)](https://codecov.io/gh/simplesamlphp/simplesamlphp-module-radius)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/simplesamlphp/simplesamlphp-module-radius/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/simplesamlphp/simplesamlphp-module-radius/?branch=master)
Expand Down
7 changes: 5 additions & 2 deletions docs/radius.md
Expand Up @@ -12,7 +12,7 @@ the user by using username & password authentication.
To use this module, enable the radius module: in `config.php`, search
for the `module.enable` key and set `radius` to true:

```
```php
'module.enable' => [
'radius' => true,
Expand All @@ -22,6 +22,7 @@ for the `module.enable` key and set `radius` to true:
Then you need to add a authentication source which uses the `radius:Radius`
module to `config/authsources.php`:

```php
'example-radius' => [
'radius:Radius',

Expand Down Expand Up @@ -82,7 +83,7 @@ module to `config/authsources.php`:
*/
'username_attribute' => 'eduPersonPrincipalName',
],

```

User attributes
---------------
Expand All @@ -98,6 +99,7 @@ contain a value of the form `<name>=<value>`.

The following configuration options are available for user attributes:

```php
/*
* This is the vendor for the vendor-specific attribute which contains
* the attributes for this user. This can be NULL if no attributes are
Expand All @@ -112,3 +114,4 @@ The following configuration options are available for user attributes:
* Required if 'vendor' is set.
*/
'attribute_vendor_type' => 4,
```

0 comments on commit 4bef7ca

Please sign in to comment.