kiosk: Show authentication dialog again if cancelled

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1446161

Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
This commit is contained in:
Eduardo Lima (Etrunko) 2017-05-19 17:12:19 -03:00
parent 8ab98eec20
commit 5d9e6d2338

View File

@ -1441,6 +1441,8 @@ virt_viewer_app_disconnected(VirtViewerSession *session G_GNUC_UNUSED, const gch
if (!priv->kiosk)
virt_viewer_app_hide_all_windows(self);
else if (priv->cancelled)
priv->authretry = TRUE;
if (priv->quitting)
g_application_quit(G_APPLICATION(self));