* [FIX] Wrong behavior when creating new users from LDAP during login. Thanks to @javierlm for the feedback. Closes #1187

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2019-02-07 20:19:37 +01:00
parent 10caf1f2fe
commit bb651fbed3

View File

@@ -107,6 +107,7 @@ final class UserPassService extends Service
$configHashMPass = $this->configService->getByParam('masterPwd');
if (empty($configHashMPass)
|| $userLoginResponse === null
|| empty($userLoginResponse->getMPass())
|| empty($userLoginResponse->getMKey())
) {