We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50e654f + aad23c3 commit a8aed8dCopy full SHA for a8aed8d
src/jc21/PlexApi.php
@@ -147,7 +147,7 @@ public function setAuth($username, $password)
147
}
148
149
/**
150
- * Tests credentials and returns the auth token
+ * Tests the set username and password and returns the auth token
151
*
152
* @return string
153
*/
@@ -157,7 +157,7 @@ public function getToken()
157
{
158
return $this->token;
159
160
- return abort(401);
+ return false;
161
162
163
0 commit comments