Skip to content

Commit 3c76c91

Browse files
author
Oleksii Korshenko
committed
MAGETWO-52616: Bug Fixes Contribution
Merge remote-tracking branch 'origin/MAGETWO-51783-Github-LoadByUserName-Data' into pull-request
2 parents b8f609d + f95ef57 commit 3c76c91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/User/Model/User.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ public function loadByUsername($username)
614614
$data = $this->getResource()->loadByUsername($username);
615615
if ($data !== false) {
616616
$this->setData($data);
617+
$this->setOrigData();
617618
}
618619
return $this;
619620
}

0 commit comments

Comments
 (0)