Creating new user with Smack on ejabberd throws XMPP Exception: forbidden(403)

前端 未结 4 1050
感动是毒
感动是毒 2021-01-05 11:10

Hi I am working on ejabberd and I am quite new to this technology.

I am trying to add a user on my ejabberd server using this code:

  try {                  


        
4条回答
  •  花落未央
    2021-01-05 11:45

    For yaml configuration as follows.

    access_rules:
      local:
        allow: all
      configure:
        allow: all
      trusted_network:
        allow: all
      register:
        allow: all
      .......
    
    modules:
      mod_register:
        ip_access: trusted_network
        access: register
        access_from: all
    

    Note: This is allow all configuration. Make strict configuration as required.

提交回复
热议问题