mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-07 14:39:56 +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
a05931d0ce
commit
352e632d20
@ -247,6 +247,10 @@ else
|
||||
//conference - for strings like vinicius@thyamad.com@default , allows
|
||||
//that user have a login that is his e-mail. (viniciuscb)
|
||||
$login_parts = explode('@',$login);
|
||||
// remove blanks
|
||||
$login_parts = array_map('trim',$login_parts);
|
||||
$login = implode('@',$login_parts);
|
||||
|
||||
$got_login = false;
|
||||
if (count($login_parts) > 1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user