Skip to content

Commit

Permalink
Fix spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwbmm committed Apr 23, 2021
1 parent 13d4315 commit 0dbe21b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Authentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static function showPromptIfNeeded() {
*/
public static function verifyPrompt() {
if(isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW'])) {
if(Configuration::getConfing( 'authentication', 'from_env' )) {
if(Configuration::getConfig( 'authentication', 'from_env' )) {
if(getenv('AUTH_USER') === $_SERVER['PHP_AUTH_USER'] && getenv('AUTH_PSW') === $_SERVER['PHP_AUTH_PW']) {
return true;
} else {
Expand Down

0 comments on commit 0dbe21b

Please sign in to comment.