mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-24 06:05:56 -05:00
Add HTTP_USER var
This commit is contained in:
parent
2c1b1d5a05
commit
abed11fc99
@ -741,6 +741,7 @@ void *ws_dispatcher(void *arg) {
|
||||
ws_decodepassword(auth,&username,&password);
|
||||
if(auth_handler(username,password))
|
||||
can_dispatch=1;
|
||||
ws_addarg(&pwsc->request_vars,"HTTP_USER",username);
|
||||
free(username);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user