|
@@ -93,7 +93,7 @@ discard block |
|
|
block discarded – undo |
|
93
|
93
|
$form = $this->getLoginForm(); |
|
94
|
94
|
|
|
95
|
95
|
if ($this->request->getMethod() == 'POST') { |
|
96
|
|
- $postData = $this->request->getParsedBody() ; |
|
|
96
|
+ $postData = $this->request->getParsedBody(); |
|
97
|
97
|
$this->authCredential->addCredential('username', $postData['login']['identification'] ?? '') |
|
98
|
98
|
->addCredential('password', $postData['login']['password'] ?? ''); |
|
99
|
99
|
|
|
@@ -112,7 +112,7 @@ discard block |
|
|
block discarded – undo |
|
112
|
112
|
|
|
113
|
113
|
// save new user if we have the username credentials and add him/her to the Guest group |
|
114
|
114
|
if (!$userEntity instanceof UserEntity && !empty($userEntity)) { |
|
115
|
|
- $userEntity = $this->registerGuestUser((string)$userEntity); |
|
|
115
|
+ $userEntity = $this->registerGuestUser((string) $userEntity); |
|
116
|
116
|
} |
|
117
|
117
|
|
|
118
|
118
|
if ($userEntity instanceof UserEntity) { |
Please login to merge, or discard this patch.