Skip to content

Commit

Permalink
Probably fix Humble auth
Browse files Browse the repository at this point in the history
Former-commit-id: 54a5b4f
  • Loading branch information
tkashkin committed Jul 1, 2018
1 parent 5aed992 commit d08c9f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/windows/WebAuthWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d08c9f1

Please sign in to comment.