]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
http: allow both ticket and username/password auth
authorSven Wegener <sven.wegener@stealer.net>
Mon, 9 Nov 2015 19:45:36 +0000 (20:45 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 9 Nov 2015 21:11:16 +0000 (22:11 +0100)
commit85e1bbb42e12443011642d98b036d7e3a46f6c11
treef705f69497945031e08683d9bacb5fb924ece57e
parent4f18ff179f1cf9283bf37b82e5cac3ef95580d3a
http: allow both ticket and username/password auth

When the default account has not all privileges, downloading the
playlist anonymously can result in URLs that can't be accessed with the
ticket in the URLs. The client then prompts for username and password,
you enter the correct credentials, but the credentials are not accepted.
Allow username and password in case ticket authorization fails.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
src/http.c