diff options
| author | polo <ordipolo@gmx.fr> | 2021-08-14 01:32:59 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2021-08-14 01:32:59 +0200 |
| commit | 07e0291bfad8ef3a8b37bf0d0ebf20df936e7b7f (patch) | |
| tree | 81fa397b2482984554c2d559e8cca7e08dfec312 /controller/password.php | |
| parent | cd4cffac62363c132d5ce98680b0303dd9b4d4f9 (diff) | |
| download | melaine-07e0291bfad8ef3a8b37bf0d0ebf20df936e7b7f.tar.gz melaine-07e0291bfad8ef3a8b37bf0d0ebf20df936e7b7f.tar.bz2 melaine-07e0291bfad8ef3a8b37bf0d0ebf20df936e7b7f.zip | |
password
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 | ||
