file: fix basic auth regression
authorJo-Philipp Wich <jo@mein.io>
Sun, 9 Jul 2017 18:43:36 +0000 (20:43 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 9 Jul 2017 18:43:36 +0000 (20:43 +0200)
commit88c0b4b6d00152c54a0f1367ae839c71547281e1
tree642daa53f82229c460d8b23d4d8788056b78c1b3
parent99957f6c6ff429f17d6d6002fef4d4ef7de8844a
file: fix basic auth regression

Previous refactoring of the basic auth handling code broke the logic in
such a way that basic auth was only performed if a client sent an
Authorization header in its request, but it was never prompted for by
the server.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
file.c