mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
Merge branch 'ent-10420-14668-errores-en-usuarios-ldap-ad-con-apostrofes' into 'develop'
Ent 10420 14668 errores en usuarios ldap ad con apostrofes See merge request artica/pandorafms!5687
This commit is contained in:
commit
0bc18b47db
@ -402,8 +402,8 @@ function process_user_login_remote($login, $pass, $api=false)
|
|||||||
$config['auth_error'] = __('User not found in database or incorrect password');
|
$config['auth_error'] = __('User not found in database or incorrect password');
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
$user_info['fullname'] = db_escape_string_sql($sr['cn'][0]);
|
$user_info['fullname'] = db_escape_string_sql(io_safe_input($sr['cn'][0]));
|
||||||
$user_info['email'] = $sr['mail'][0];
|
$user_info['email'] = io_safe_input($sr['mail'][0]);
|
||||||
|
|
||||||
// Create the user.
|
// Create the user.
|
||||||
$create_user = create_user_and_permisions_ldap(
|
$create_user = create_user_and_permisions_ldap(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user