Claim missing user name when authenticating
authorMilan Crha <mcrha@redhat.com>
Wed, 9 Apr 2014 10:00:30 +0000 (12:00 +0200)
committerMilan Crha <mcrha@redhat.com>
Wed, 9 Apr 2014 10:03:36 +0000 (12:03 +0200)
commit2914e85d6d95a8785fbd21000d1c8662f46ff2f1
tree20017e8dacf9e3577acceef1457f01eed747d12e
parent8476b8abecb190019cf2fdfef6f0a9f3ec6e8cae
Claim missing user name when authenticating

When user's CalDAV/HTTP calendar or WebDAV address book had missing
set login user name, the UI did not show anything useful, the worse
it reasked for a password which were not used at all, because libsoup's
session on the factory side failed in authentication due to runtime
check about non-NULL user name. This makes it return "Authentication
required" error to the UI, instead of asking for the password.
addressbook/backends/webdav/e-book-backend-webdav.c
calendar/backends/caldav/e-cal-backend-caldav.c
calendar/backends/http/e-cal-backend-http.c