]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6711 #resolve
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 31 Jul 2014 17:59:21 +0000 (22:59 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 31 Jul 2014 17:59:21 +0000 (22:59 +0500)
src/mod/endpoints/mod_verto/mod_verto.c

index d2a5b5fdadc9facc2b3a4e55dc2f7925dc43fb90..779346bb7fcd7fafd55fed1459a0c11e33410e44 100644 (file)
@@ -923,6 +923,7 @@ static switch_bool_t check_auth(jsock_t *jsock, cJSON *params, int *code, char *
                                r = SWITCH_FALSE;
                                *code = CODE_AUTH_FAILED;
                                switch_snprintf(message, mlen, "Authentication Failure");
+                               jsock->uid = NULL;
                        } else {
                                r = SWITCH_TRUE;
                                check_permissions(jsock, x_user, params);