Skip to content

Commit af36e58

Browse files
committed
Fix CS errors.
1 parent 088a33d commit af36e58

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/Auth/HybridAuthAuthenticate.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ public function getUser(Request $request)
170170
$providers = Hybrid_Auth::getConnectedProviders();
171171
foreach ($providers as $provider) {
172172
$adapter = Hybrid_Auth::getAdapter($provider);
173+
173174
return $this->_getUser($adapter);
174175
}
175176

@@ -216,6 +217,7 @@ public function authenticate(Request $request, Response $response)
216217
if ($adapter) {
217218
return $this->_getUser($adapter);
218219
}
220+
219221
return false;
220222
}
221223

src/Controller/HybridAuthController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ public function authenticated()
4949
$user = $this->Auth->identify();
5050
if ($user) {
5151
$this->Auth->setUser($user);
52+
5253
return $this->redirect($this->Auth->redirectUrl());
5354
}
55+
5456
return $this->redirect($this->Auth->config('loginAction'));
5557
}
5658
}

0 commit comments

Comments
 (0)