Skip to content

Commit

Permalink
remove comment out lines
Browse files Browse the repository at this point in the history
  • Loading branch information
PandorasActorMS committed Sep 19, 2023
1 parent 7a12c9f commit 3728024
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions login.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ function auth(
$password
) {

#$env = parse_ini_file('.env');

# Hostname des LDAP-Servers
$host = getenv("LDAP_HOST");
Expand Down Expand Up @@ -89,7 +88,6 @@ function auth(
return true;
}

#$env = parse_ini_file('.env');
# Testuser account ist aktiviert
$testuser = getenv("TESTUSER");

Expand Down Expand Up @@ -133,9 +131,8 @@ function auth(
<img src="/img/logo.svg" alt="">
<h2>Willkommen zurück!</h2>
<?php
#$env = parse_ini_file('.env');
$login_available = false;
if (getenv("Authentication") == "OIC") {
if (getenv("Authentication") == "OIDC") {
// Open ID Connect
$login_available = true;
$oic_login = getenv("OIC_LOGIN_BUTTON")??'Login'; // Option for changing login button
Expand Down

0 comments on commit 3728024

Please sign in to comment.