FS-6711 #resolve

This commit is contained in:
Anthony Minessale 2014-07-31 22:59:21 +05:00
parent 40bb7b7b4d
commit f45443629b
1 changed files with 1 additions and 0 deletions

View 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);