Merge branch '1915-LDAP-no-encuentra-el-usuario-o-contraseña-en-la-base-de-datos-dev' into 'develop'

Added safe_output for password in ldap

See merge request artica/pandorafms!1299
This commit is contained in:
vgilc 2018-02-14 11:57:07 +01:00
commit 1ffb335138
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ function process_user_login ($login, $pass, $api = false) {
return process_user_login_local ($login, $pass, $api);
}
else {
$login_remote = process_user_login_remote ($login, $pass, $api);
$login_remote = process_user_login_remote ($login, io_safe_output($pass), $api);
if ($login_remote == false && $config['fallback_local_auth'] == '1') {
return process_user_login_local ($login, $pass, $api);
}