Commit 293b2f04 authored by Nathan ROCHER's avatar Nathan ROCHER
Browse files

Update AuthentificationModele.php

parent 71ae295d
...@@ -21,7 +21,7 @@ class AuthentificationModele extends CI_Model ...@@ -21,7 +21,7 @@ class AuthentificationModele extends CI_Model
$data["prenom"] = $prenom; $data["prenom"] = $prenom;
$data["email"] = $email; $data["email"] = $email;
$data["password"] = password_hash($password, PASSWORD_DEFAULT); $data["password"] = password_hash($password, PASSWORD_DEFAULT);
$data["role"] = "waiting"; $data["role"] = "admin";
$this->db->insert('Authentification', $data); $this->db->insert('Authentification', $data);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment