@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Auth; |
| 3 | -require dirname(__FILE__) . '/../libs/google/src/Google/autoload.php'; |
|
| 3 | +require dirname(__FILE__).'/../libs/google/src/Google/autoload.php'; |
|
| 4 | 4 | |
| 5 | 5 | class GoogleAuthenticator extends Authenticator |
| 6 | 6 | {
|
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | public function authenticate($code, &$currentUser = false) |
| 35 | 35 | {
|
| 36 | 36 | $googleUser = false; |
| 37 | - try{
|
|
| 37 | + try {
|
|
| 38 | 38 | $this->client->authenticate($code); |
| 39 | 39 | $this->token = $this->client->getAccessToken(); |
| 40 | 40 | \FlipSession::setVar('GoogleToken', $this->token);
|