acl:
##
## The 'admin' ACL grants administrative privileges to XMPP accounts.
## You can put here as many accounts as you want.
##
admin:
user:
- "******@*****"
My ejabberd.yml file has this properties. I want to get the user value in a module to get Admin user's name. Since I am new to ejabberd, confused with so many codes which is getting max_user_sessions, shaper_rules etc. How can I do this?
Advance thanks.
1条答案
按热度按时间mefy6pfw1#
如何在ejabberd.yml文件中配置admin用户
如果在vhost“localhost”中注册了帐户“user1”,并且您希望授予它管理权限,请在ejabberd.yml中进行如下配置: