提交 f4544362 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-6711 #resolve

上级 40bb7b7b
...@@ -923,6 +923,7 @@ static switch_bool_t check_auth(jsock_t *jsock, cJSON *params, int *code, char * ...@@ -923,6 +923,7 @@ static switch_bool_t check_auth(jsock_t *jsock, cJSON *params, int *code, char *
r = SWITCH_FALSE; r = SWITCH_FALSE;
*code = CODE_AUTH_FAILED; *code = CODE_AUTH_FAILED;
switch_snprintf(message, mlen, "Authentication Failure"); switch_snprintf(message, mlen, "Authentication Failure");
jsock->uid = NULL;
} else { } else {
r = SWITCH_TRUE; r = SWITCH_TRUE;
check_permissions(jsock, x_user, params); check_permissions(jsock, x_user, params);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论