MongooseIM
MongooseIM copied to clipboard
When using jwt auth mongooseimctl can not register user
MongooseIM version: 5.0.0 Installed from: docker Erlang/OTP version: (put the version)
Describe the issue.
When using jwt auth mongooseimctl can not register user, error info User user5@localhost already registered at node mongooseim@m-1
[auth]
methods = ["rdbms", "jwt"]
I supposed the following code made this happened?
https://github.com/esl/MongooseIM/blob/42420d6561d690f197fea99c941bba13732f6cd2/src/auth/ejabberd_auth_jwt.erl#L121-L126
How can I config to support both rdbms, and jwt auth?