mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 08:49:01 +00:00
FS-6711 #resolve
This commit is contained in:
parent
40bb7b7b4d
commit
f45443629b
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user