From d08c9f1059c530a63f215e2d51a506eb7a90d0ed Mon Sep 17 00:00:00 2001 From: tkashkin Date: Sun, 1 Jul 2018 21:59:57 +0300 Subject: [PATCH] Probably fix Humble auth Former-commit-id: 54a5b4f8460a8c10e477916435863050705d9e90 --- src/ui/windows/WebAuthWindow.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/windows/WebAuthWindow.vala b/src/ui/windows/WebAuthWindow.vala index c26c792e..7d8967cc 100644 --- a/src/ui/windows/WebAuthWindow.vala +++ b/src/ui/windows/WebAuthWindow.vala @@ -56,7 +56,7 @@ namespace GameHub.UI.Windows foreach(var cookie in cookies) { debug("[WebAuth/%s] [Cookie] `%s`=`%s`", source, cookie.name, cookie.value); - if(!is_finished && cookie.name == success_cookie_name && !cookie.value.contains("\"") && (success_url_prefix == null || uri.has_prefix(success_url_prefix))) + if(!is_finished && cookie.name == success_cookie_name && (success_url_prefix == null || uri.has_prefix(success_url_prefix))) { is_finished = true; var token = cookie.value;