mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 08:19:45 +01:00
remove additional blanks/whitespace before and after username supplied by user at logintime (refer to Tracker#2234
This commit is contained in:
parent
2ac27f4ffd
commit
64050083d1
@ -247,6 +247,10 @@ else
|
|||||||
//conference - for strings like vinicius@thyamad.com@default , allows
|
//conference - for strings like vinicius@thyamad.com@default , allows
|
||||||
//that user have a login that is his e-mail. (viniciuscb)
|
//that user have a login that is his e-mail. (viniciuscb)
|
||||||
$login_parts = explode('@',$login);
|
$login_parts = explode('@',$login);
|
||||||
|
// remove blanks
|
||||||
|
$login_parts = array_map('trim',$login_parts);
|
||||||
|
$login = implode('@',$login_parts);
|
||||||
|
|
||||||
$got_login = false;
|
$got_login = false;
|
||||||
if (count($login_parts) > 1)
|
if (count($login_parts) > 1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user