Skip to content

Commit

Permalink
Merge branch 'benedmunds-remove-admin-hashing' of github.com:benedmun…
Browse files Browse the repository at this point in the history
…ds/CodeIgniter-Ion-Auth into benedmunds-remove-admin-hashing
  • Loading branch information
benedmunds committed Feb 3, 2021
2 parents 4d3f3af + 8af7cb4 commit c38924e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion models/Ion_auth_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -2621,9 +2621,10 @@ protected function _get_hash_parameters($identity = NULL)
break;

case 'argon2':
case 'argon2id':
$params = $this->config->item('argon2_default_params', 'ion_auth');
break;

default:
// Do nothing
}
Expand All @@ -2648,6 +2649,10 @@ protected function _get_hash_algo()
$algo = PASSWORD_ARGON2I;
break;

case 'argon2id':
$algo = PASSWORD_ARGON2ID;
break;

default:
// Do nothing
}
Expand Down

0 comments on commit c38924e

Please sign in to comment.