summaryrefslogtreecommitdiff
path: root/controller/password.php
diff options
context:
space:
mode:
Diffstat (limited to 'controller/password.php')
-rw-r--r--controller/password.php16
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
4function hashNewPassword()
5{
6 //$hash = password_hash($password, PASSWORD_DEFAULT);
7
8 // écrire dans un fichier
9}
10
11function testPassword()
12{
13 // lire dans un fichier
14
15 //if(password_verify($password, $hash))
16} \ No newline at end of file