asmack XMPP new user registration

后端 未结 7 1358
鱼传尺愫
鱼传尺愫 2021-02-04 20:50

Good people of StackOverflow, please help. I\'ve set up an ejabberd server on my ubuntu machine, added virtual host, set {access, register, [{allow, all}]}. and registered

7条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-04 21:06

    I came across the same issue and found the solution:

    Make changes in server

    After loggin in ejabbered from ur admin interface. Go to Virtual Host-Nodes-Modules-mod_register and add:

    [{welcome_message,  {"Welcome!", "Welcome to this Jabber server."}}, {access_from, register}]
    

    n u ll b able to create account successfully from your client

提交回复
热议问题