Add proper PHP password management

The old crypt based password methods are all deprecated and the new
password_* are now standard.

Also added auto rehash for old password on login
This commit is contained in:
Clemens Schwaighofer
2018-05-09 11:34:40 +09:00
parent 41b1f14594
commit c21e194eaf
4 changed files with 114 additions and 29 deletions

View File

@@ -1,4 +1,5 @@
<?php
$DEBUG_ALL_OVERRIDE = 0; // set to 1 to debug on live/remote server locations
$DEBUG_ALL = 1;
$PRINT_ALL = 1;