diff options
Diffstat (limited to 'controller/password.php')
| -rw-r--r-- | controller/password.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/controller/password.php b/controller/password.php new file mode 100644 index 0000000..987670f --- /dev/null +++ b/controller/password.php | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | <?php | ||
| 2 | // password.php | ||
| 3 | |||
| 4 | function hashNewPassword() | ||
| 5 | { | ||
| 6 | //$hash = password_hash($password, PASSWORD_DEFAULT); | ||
| 7 | |||
| 8 | // écrire dans un fichier | ||
| 9 | } | ||
| 10 | |||
| 11 | function testPassword() | ||
| 12 | { | ||
| 13 | // lire dans un fichier | ||
| 14 | |||
| 15 | //if(password_verify($password, $hash)) | ||
| 16 | } \ No newline at end of file | ||
