Skip to content

Commit

Permalink
Merge pull request #15 from ayacoo/master
Browse files Browse the repository at this point in the history
[BUGFIX] force_verify should use string instead of integer

Fixes #13
  • Loading branch information
PetterKraabol committed Oct 18, 2018
2 parents b114907 + 54c06b3 commit a3e9776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/API/Authentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function getAuthenticationUrl($state = null, $forceVerify = false)
.'&redirect_uri='.config('twitch-api.redirect_url')
.'&scope='.implode(config('twitch-api.scopes'), '+')
.'&state='.$state
.'&force_verify='.$forceVerify;
.'&force_verify='.($forceVerify ? 'true' : 'false');
}

/**
Expand Down

0 comments on commit a3e9776

Please sign in to comment.