Skip to content
Permalink
Browse files

typo

  • Loading branch information...
nicolabeghin committed Mar 18, 2017
1 parent ca6ca93 commit 7cd9d4381a26cc3799a7e1209d26439f7779cf31
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Controller/Component/Auth/BasicAuthenticate.php
@@ -84,7 +84,7 @@ public function authenticate(CakeRequest $request, CakeResponse $response) {
public function getUser(CakeRequest $request) {
$username = '';
$pass = '';
if (!isset($_SERVER['PHP_AUTH_USER'])) {
if (isset($_SERVER['PHP_AUTH_USER'])) {
$username = env('PHP_AUTH_USER');
$pass = env('PHP_AUTH_PW');
} else {

0 comments on commit 7cd9d43

Please sign in to comment.
You can’t perform that action at this time.