Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
invisnik committed Apr 1, 2015
1 parent 4df4322 commit 83a5636
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/SteamAuth.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<?php namespace Invisnik\LaravelSteamAuth;

use Exception;

class SteamAuth implements SteamAuthInterface {

/**
* @var string|null
* @var integer|null
*/
public $steam_id = null;

Expand Down Expand Up @@ -101,7 +102,7 @@ private function buildUrl($return = null)
}
}
else {
$return = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'];
$return = url('/');
}
$params = array(
'openid.ns' => 'http://specs.openid.net/auth/2.0',
Expand Down

0 comments on commit 83a5636

Please sign in to comment.