Skip to content

Commit

Permalink
Fix broken Api user
Browse files Browse the repository at this point in the history
  • Loading branch information
Schrank committed Apr 4, 2020
1 parent f78aef1 commit deca6fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/code/community/Ikonoshirt/Pbkdf2/Model/Api/User.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<?php

declare(strict_types=1);

class Ikonoshirt_Pbkdf2_Model_Api_User extends Mage_Api_Model_User
{
protected function _getEncodedApiKey($apiKey)
{
return Mage::helper('core')->getHash($apiKey);
return $this->_getHelper('core')->getHash($apiKey, Mage_Admin_Model_User::HASH_SALT_LENGTH);
}
}

0 comments on commit deca6fe

Please sign in to comment.