diff --git a/telepathy-sasl-signon/empathy-uoa-auth-handler.c b/telepathy-sasl-signon/empathy-uoa-auth-handler.c index e4ff83f..a561ea1 100644 --- a/telepathy-sasl-signon/empathy-uoa-auth-handler.c +++ b/telepathy-sasl-signon/empathy-uoa-auth-handler.c @@ -224,14 +224,10 @@ session_process_cb (SignonAuthSession *session, if (error != NULL) { DEBUG ("Error processing the session: %s", error->message); - if (g_error_matches(error, SIGNON_ERROR, SIGNON_ERROR_CREDENTIALS_NOT_AVAILABLE) || - g_error_matches(error, SIGNON_ERROR, SIGNON_ERROR_INVALID_CREDENTIALS) || - g_error_matches(error, SIGNON_ERROR, SIGNON_ERROR_MISSING_DATA) || - g_error_matches(error, SIGNON_ERROR, SIGNON_ERROR_USER_INTERACTION) || - g_error_matches(error, SIGNON_ERROR, SIGNON_ERROR_OPERATION_FAILED)) + if (g_error_matches(error, SIGNON_ERROR, SIGNON_ERROR_USER_INTERACTION)) { request_password(ctx); - } + } else { auth_context_done (ctx);