mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
#10115 fixed special character in fullname if user have permission
This commit is contained in:
parent
783f9a1793
commit
8fb5fc0d85
@ -398,7 +398,7 @@ 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'] = $sr['cn'][0];
|
$user_info['fullname'] = io_safe_input($sr['cn'][0]);
|
||||||
$user_info['email'] = $sr['mail'][0];
|
$user_info['email'] = $sr['mail'][0];
|
||||||
|
|
||||||
// Create the user.
|
// Create the user.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user