Skip to content

Commit eb3bbbf

Browse files
committed
fixes unauthenticated return value.
1 parent cc86f3c commit eb3bbbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Auth/OAuthAuthenticate.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ public function authenticate(ServerRequest $request, Response $response)
9898
/**
9999
* @param ServerRequest $request Request to get authentication information from.
100100
* @param Response $response A response object that can have headers added.
101-
* @return bool|Response
101+
* @return void
102102
*/
103103
public function unauthenticated(ServerRequest $request, Response $response)
104104
{
105105
if ($this->getConfig('continue')) {
106-
return false;
106+
return;
107107
}
108108

109109
if (isset($this->_exception)) {

0 commit comments

Comments
 (0)