Projekt

Allgemein

Profil

GX-Bug #49582 » WhiteSpaceEMailLoginFix.patch

Till Tepelmann, 13.12.2016 19:10

Unterschiede anzeigen:

src/system/classes/accounts/LoginContentControl.inc.php (revision )
47 47
					/** @var AuthService $authService */
48 48
					$authService = StaticGXCoreLoader::getService('Auth');
49 49
					$credentials = MainFactory::create('UsernamePasswordCredentials',
50
					                                   new NonEmptyStringType($this->v_data_array['POST']['email_address']),
50
					                                   new NonEmptyStringType(trim($this->v_data_array['POST']['email_address'])),
51 51
					                                   new StringType(xtc_db_prepare_input($this->v_data_array['POST']['password'])));
52 52
					
53 53
					$loginSuccess = $authService->authUser($credentials);
    (1-1/1)