From f45443629bbbdf6a02baebcc4f98fd2be459ecc6 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 31 Jul 2014 22:59:21 +0500 Subject: [PATCH] FS-6711 #resolve --- src/mod/endpoints/mod_verto/mod_verto.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/endpoints/mod_verto/mod_verto.c b/src/mod/endpoints/mod_verto/mod_verto.c index d2a5b5fdad..779346bb7f 100644 --- a/src/mod/endpoints/mod_verto/mod_verto.c +++ b/src/mod/endpoints/mod_verto/mod_verto.c @@ -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);