mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
typo
This commit is contained in:
parent
ca6ca9376e
commit
7cd9d4381a
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class BasicAuthenticate extends BaseAuthenticate {
|
|||
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 {
|
||||
|
|
Loading…
Reference in a new issue