mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Allow api access on both ipv4 and 6 loopback addresses
This should fix issue #1769
This commit is contained in:
parent
115cb23bd8
commit
7b5895c90d
@ -487,6 +487,7 @@ acl:
|
||||
loopback:
|
||||
ip:
|
||||
- "127.0.0.0/8"
|
||||
- "::1/128"
|
||||
|
||||
##
|
||||
## Bad XMPP servers
|
||||
@ -589,13 +590,13 @@ api_permissions:
|
||||
who:
|
||||
- access:
|
||||
- allow:
|
||||
- ip: "127.0.0.1/8"
|
||||
- acl: loopback
|
||||
- acl: admin
|
||||
- oauth:
|
||||
- scope: "ejabberd:admin"
|
||||
- access:
|
||||
- allow:
|
||||
- ip: "127.0.0.1/8"
|
||||
- acl: loopback
|
||||
- acl: admin
|
||||
what:
|
||||
- "*"
|
||||
|
Loading…
Reference in New Issue
Block a user