return;
}
- if (CC->logged_in) logout(); /* Client may try to log in twice. Handle this. */
+ if (CC->logged_in) CtdlUserLogout(); /* Client may try to log in twice. Handle this. */
if (CC->nologin) {
cprintf("<failure xmlns=\"urn:ietf:params:xml:ns:xmpp-sasl\">");
void jabber_non_sasl_authenticate(char *iq_id, char *username, char *password, char *resource) {
int result;
- if (CC->logged_in) logout(); /* Client may try to log in twice. Handle this. */
+ if (CC->logged_in) CtdlUserLogout(); /* Client may try to log in twice. Handle this. */
result = CtdlLoginExistingUser(NULL, username);
if (result == login_ok) {