@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | { |
| 113 | 113 | $this->user = $request->user(); |
| 114 | 114 | $access = $this->config->get('user') |
| 115 | - ->get('access', null); |
|
| 115 | + ->get('access', null); |
|
| 116 | 116 | |
| 117 | 117 | if (! is_null($access) && ! $this->parseUserValue($access)) { |
| 118 | 118 | abort(403); //Forbidden |
@@ -125,9 +125,9 @@ discard block |
||
| 125 | 125 | $query = $this->sso->getSignInString( |
| 126 | 126 | $this->sso->getNonce($payload), |
| 127 | 127 | $this->parseUserValue($this->config->get('user') |
| 128 | - ->get('external_id')), |
|
| 128 | + ->get('external_id')), |
|
| 129 | 129 | $this->parseUserValue($this->config->get('user') |
| 130 | - ->get('email')), |
|
| 130 | + ->get('email')), |
|
| 131 | 131 | $this->buildExtraParameters() |
| 132 | 132 | ); |
| 133 | 133 | |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | // Get Discourse user to match this one, and send a Logout request to Discourse and get the response |
| 69 | 69 | $user = json_decode( |
| 70 | 70 | $this->client->get("users/by-external/{$event->user->id}.json", $configs) |
| 71 | - ->getBody() |
|
| 71 | + ->getBody() |
|
| 72 | 72 | )->user; |
| 73 | 73 | |
| 74 | 74 | |