How Can We Help?
< Back
You are here:
Print

How to remove the need for password using JS API?


In the Rumbletalk JS API example, we show how to connect your user base to the chat for auto login. In this example, we show how to log in using a username & password.


However, if you do not need the password field, simply remove it in the SDK call.
i.e.

rtmq(
    'login',
    {
        hash:     "YOUR-HASH",
        username: USERNAME_VARIABLE
    }
);

** This is possible only when the Guest login is set.
** YOUR-HASH is an 8 char variable that is unique to your chat.

Categories