Skip to content

Commit bc0617a

Browse files
committed
Update ReadMe
1 parent 3e4c268 commit bc0617a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
[![Author][ico-twitter]][link-twitter]
44
[![Build Status][ico-ghactions]][link-ghactions]
5-
[![PHP Version][ico-php]][link-php]
65
[![MediaWiki Version][ico-mediawiki]][link-mediawiki]
76
[![Latest Version][ico-version]][link-packagist]
87

@@ -37,6 +36,8 @@ Allow auto creation of MediaWiki account from Flarum ? Becarrefull, also Need
3736

3837
```php
3938
$wgGroupPermissions['*']['autocreateaccount'] = true;
39+
$wgGroupPermissions['*']['createaccount'] = false;
40+
$wgGroupPermissions['sysop']['createaccount'] = false;
4041
```
4142

4243
Example:
@@ -57,8 +58,6 @@ $wgAuthFlarumAutoCreateMinPost = 100;
5758

5859
[ico-twitter]: https://img.shields.io/static/v1?label=Author&message=llaumgui&color=50ABF1&logo=twitter&style=flat-square
5960
[link-twitter]: https://twitter.com/llaumgui
60-
[ico-php]: https://img.shields.io/packagist/php-v/llaumgui/mw-auth-flarum?color=%234F5B93&logo=php&style=flat-square
61-
[link-php]: https://www.php.net
6261
[ico-mediawiki]: https://img.shields.io/static/v1?label=mediawiki&message=%E2%89%A51.36&color=cd1f44&logo=wikipedia&style=flat-square
6362
[link-mediawiki]: https://www.mediawiki.org/
6463
[ico-ghactions]: https://img.shields.io/github/actions/workflow/status/llaumgui/mw-auth-flarum/qa.yaml?branch=main&style=flat-square&logo=github&label=Tests

0 commit comments

Comments
 (0)