Index: trunk/core/units/users/users_item.php =================================================================== diff -u -r2363 -r2663 --- trunk/core/units/users/users_item.php (.../users_item.php) (revision 2363) +++ trunk/core/units/users/users_item.php (.../users_item.php) (revision 2663) @@ -21,5 +21,17 @@ return explode(',', $user_groups); } } + + /** + * Set's Login from Email if required by configuration settings + * + */ + function setLogin() + { + if( $this->Application->ConfigValue('Email_As_Login') ) + { + $this->SetDBField('Login', $this->GetDBField('Email') ); + } + } } ?> \ No newline at end of file