From e1ce84dfd0064c33a836b05c7287f30d6889f214 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 26 Jul 2016 00:27:21 +0200 Subject: Added password_needs_rehash logic --- classes/constants.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'classes/constants.php') diff --git a/classes/constants.php b/classes/constants.php index 77f47b0..e5630de 100644 --- a/classes/constants.php +++ b/classes/constants.php @@ -69,7 +69,11 @@ class constants { /** @const fa_valuta see http://fontawesome.io/icons/#currency; the fa- postfix for valuta */ const fa_valuta = 'eur'; - /** @const password_cost for the password_hash function. Run install?password_cost to benchmark your system */ + /** + * @const password_algo Algorithm for the password_hash function. + * @const password_cost Cost for the password_hash function. Run install?password_cost to benchmark your system + */ + const password_algo = PASSWORD_DEFAULT; const password_cost = 10; /** @const version Version of BusinessAdmin. Don't change this yourself! */ -- cgit v1.2.3