From: Daniel Carl <danielcarl@gmx.de>
Date: Wed, 10 Oct 2018 07:47:49 +0000 (+0200)
Subject: Show warning if peer dbus connection does not provide credentials #438.
X-Git-Url: https://git.owens.tech/editable-focus.html/editable-focus.html/git?a=commitdiff_plain;h=79e0a8cabae152d78ee7179d850269a86daa77f0;p=vimb.git

Show warning if peer dbus connection does not provide credentials #438.
---

diff --git a/src/ext-proxy.c b/src/ext-proxy.c
index da00a3b..4c99bae 100644
--- a/src/ext-proxy.c
+++ b/src/ext-proxy.c
@@ -109,6 +109,8 @@ static gboolean on_authorize_authenticated_peer(GDBusAuthObserver *observer,
             g_error_free(error);
         }
         g_object_unref(own_credentials);
+    } else {
+        g_warning ("No credentials received from web extension.\n");
     }
 
     return authorized;