|
@@ -190,7 +190,7 @@ discard block |
|
|
block discarded – undo |
|
190
|
190
|
$errorMsg = 'Couldn’t login.'; |
|
191
|
191
|
} |
|
192
|
192
|
|
|
193
|
|
- Craft::error((string)$response, __METHOD__); |
|
|
193
|
+ Craft::error((string) $response, __METHOD__); |
|
194
|
194
|
Craft::$app->getSession()->setFlash('error', $errorMsg); |
|
195
|
195
|
$this->_cleanSession(); |
|
196
|
196
|
|
|
@@ -529,7 +529,7 @@ discard block |
|
|
block discarded – undo |
|
529
|
529
|
|
|
530
|
530
|
foreach ($userMapping as $attribute => $template) { |
|
531
|
531
|
// Only fill other fields than `email` and `username` when `autoFillProfile` is true |
|
532
|
|
- if(!$settings['autoFillProfile'] && ($attribute !== 'email' || $attribute !== 'username')) { |
|
|
532
|
+ if (!$settings['autoFillProfile'] && ($attribute !== 'email' || $attribute !== 'username')) { |
|
533
|
533
|
continue; |
|
534
|
534
|
} |
|
535
|
535
|
|
Please login to merge, or discard this patch.