fixed wrong error message

This commit is contained in:
Roland Gruber 2019-05-20 12:26:27 +02:00
parent bd28b7160f
commit 1f20b1d48e
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@ use \htmlButton;
/* /*
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2011 - 2018 Roland Gruber Copyright (C) 2011 - 2019 Roland Gruber
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@ -95,6 +95,7 @@ class Ajax {
$jsonInput = $_POST['jsonInput']; $jsonInput = $_POST['jsonInput'];
if ($function == 'passwordStrengthCheck') { if ($function == 'passwordStrengthCheck') {
$this->checkPasswordStrength($jsonInput); $this->checkPasswordStrength($jsonInput);
die();
} }
enforceUserIsLoggedIn(); enforceUserIsLoggedIn();
if ($function == 'passwordChange') { if ($function == 'passwordChange') {