mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 20:46:19 +00:00
Fixed invalid variable form name user -> username
This commit is contained in:
parent
315959c4ad
commit
4f9be59513
3 changed files with 6 additions and 5 deletions
|
|
@ -238,7 +238,7 @@ static int is_authorized(const struct mg_connection *conn,
|
|||
*/
|
||||
if(!strcmp(request_info->uri, AUTHORIZE_CAPTIVE_LUA_URL)) {
|
||||
if(request_info->query_string) {
|
||||
get_qsvar(request_info, "user", username, username_len);
|
||||
get_qsvar(request_info, "username", username, username_len);
|
||||
get_qsvar(request_info, "password", password, sizeof(password));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue