misc. fix - auth in mmsbox
This commit is contained in:
parent
96811a10b7
commit
d7d97c695d
|
@ -1168,7 +1168,8 @@ static void sendmms_func(void *unused)
|
|||
|
||||
username = http_cgi_variable(cgivars, "username");
|
||||
password = http_cgi_variable(cgivars, "password");
|
||||
|
||||
octstr_strip_blanks(username);
|
||||
octstr_strip_blanks(password);
|
||||
if ((u = auth_user(username, password)) != NULL &&
|
||||
is_allowed_ip(sendmms_port.allow_ip, sendmms_port.deny_ip, ip)) {
|
||||
Octstr *data, *ctype = NULL, *mmc, *to, *from, *dlr_url;
|
||||
|
|
Loading…
Reference in New Issue