Skip to content

Commit 8af7cb4

Browse files
authored
Merge branch '3' into benedmunds-remove-admin-hashing
2 parents 2cad556 + 5e9cf42 commit 8af7cb4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

models/Ion_auth_model.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2621,9 +2621,10 @@ protected function _get_hash_parameters($identity = NULL)
26212621
break;
26222622

26232623
case 'argon2':
2624+
case 'argon2id':
26242625
$params = $this->config->item('argon2_default_params', 'ion_auth');
26252626
break;
2626-
2627+
26272628
default:
26282629
// Do nothing
26292630
}
@@ -2648,6 +2649,10 @@ protected function _get_hash_algo()
26482649
$algo = PASSWORD_ARGON2I;
26492650
break;
26502651

2652+
case 'argon2id':
2653+
$algo = PASSWORD_ARGON2ID;
2654+
break;
2655+
26512656
default:
26522657
// Do nothing
26532658
}

0 commit comments

Comments
 (0)