[gnome-calendar] source-dialog: Handle 401 status codes A 401 also tiggers the prompt_credentials dialog
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] source-dialog: Handle 401 status codes A 401 also tiggers the prompt_credentials dialog
- Date: Fri, 17 Aug 2018 14:01:27 +0000 (UTC)
commit 47cf68e7010fd9dcbb95c20db3f202c43d28fce3
Author: Ralph Plawetzki <ralph purejava org>
Date: Tue Aug 7 08:28:59 2018 +0200
source-dialog: Handle 401 status codes
A 401 also tiggers the prompt_credentials dialog
Fixes #287
src/gcal-source-dialog.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index afe8a799..b1aa1d99 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -1532,6 +1532,7 @@ discover_sources_cb (GObject *source,
*/
if (!self->prompt_password &&
(error->code == 14 ||
+ error->code == 401 ||
error->code == 403 ||
error->code == 405))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]