[evolution-data-server] Bug 756172 - Asks for WebCal password at every start
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 756172 - Asks for WebCal password at every start
- Date: Thu, 8 Oct 2015 10:20:42 +0000 (UTC)
commit 1ec41dcd6bb451d3d67d1180ea875cc0bfc85be4
Author: Milan Crha <mcrha redhat com>
Date: Thu Oct 8 12:20:41 2015 +0200
Bug 756172 - Asks for WebCal password at every start
calendar/backends/http/e-cal-backend-http.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/calendar/backends/http/e-cal-backend-http.c b/calendar/backends/http/e-cal-backend-http.c
index 49d69a0..445ff0c 100644
--- a/calendar/backends/http/e-cal-backend-http.c
+++ b/calendar/backends/http/e-cal-backend-http.c
@@ -969,7 +969,9 @@ e_cal_backend_http_open (ECalBackendSync *backend,
&certificate_errors, cancellable, &local_error);
if (g_error_matches (local_error, SOUP_HTTP_ERROR, SOUP_STATUS_UNAUTHORIZED) ||
- g_error_matches (local_error, SOUP_HTTP_ERROR, SOUP_STATUS_SSL_FAILED)) {
+ g_error_matches (local_error, SOUP_HTTP_ERROR, SOUP_STATUS_SSL_FAILED) ||
+ (g_error_matches (local_error, SOUP_HTTP_ERROR, SOUP_STATUS_FORBIDDEN) &&
+ !cbhttp->priv->password)) {
GError *local_error2 = NULL;
ESourceCredentialsReason reason = E_SOURCE_CREDENTIALS_REASON_REQUIRED;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]