summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/auth.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 568b724..302e1fe 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -1052,7 +1052,6 @@ function session_auth() {
/* Validate incoming login request */
if (isset($_POST['login'])) {
$authcfg = auth_get_authserver($config['system']['webgui']['authmode']);
- /* Should check backend type for fallback. */
if (authenticate_user($_POST['usernamefld'], $_POST['passwordfld'], $authcfg) ||
authenticate_user($_POST['usernamefld'], $_POST['passwordfld'])) {
$_SESSION['Logged_In'] = "True";
OpenPOWER on IntegriCloud