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.
1 parent f9adcd9 commit bae09cdCopy full SHA for bae09cd
app/code/Magento/User/Model/ResourceModel/User.php
@@ -121,6 +121,9 @@ public function recordLogin(ModelUser $user)
121
'logdate' => (new \DateTime())->format(\Magento\Framework\Stdlib\DateTime::DATETIME_PHP_FORMAT),
122
'lognum' => $user->getLognum() + 1,
123
];
124
+
125
+ $user->setLogdate($data['logdate']);
126
+ $user->setLognum($data['lognum']);
127
128
$condition = ['user_id = ?' => (int)$user->getUserId()];
129
0 commit comments