We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7362a48 + bae09cd commit 3a26af4Copy full SHA for 3a26af4
app/code/Magento/User/Model/ResourceModel/User.php
@@ -123,6 +123,9 @@ public function recordLogin(ModelUser $user)
123
'logdate' => (new \DateTime())->format(\Magento\Framework\Stdlib\DateTime::DATETIME_PHP_FORMAT),
124
'lognum' => $user->getLognum() + 1,
125
];
126
+
127
+ $user->setLogdate($data['logdate']);
128
+ $user->setLognum($data['lognum']);
129
130
$condition = ['user_id = ?' => (int)$user->getUserId()];
131
0 commit comments