mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +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;
|
||||
*code = CODE_AUTH_FAILED;
|
||||
switch_snprintf(message, mlen, "Authentication Failure");
|
||||
jsock->uid = NULL;
|
||||
} else {
|
||||
r = SWITCH_TRUE;
|
||||
check_permissions(jsock, x_user, params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user