Skip to content

Commit

Permalink
Woops!
Browse files Browse the repository at this point in the history
  • Loading branch information
subutux committed Mar 9, 2016
1 parent 68f17cf commit c54de0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jsonRPC2Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public function enableAuthentication($state=""){
* @param string $password password from header x-rpc-auth-password
*/
public function verifyAuth($user,$pass){
if (!isset($this->users[$user])) return false;
if ($this->users[$user] == $pass){
return true;
} else return false;
Expand Down

0 comments on commit c54de0c

Please sign in to comment.