summaryrefslogtreecommitdiff
path: root/Wrapper/Functions/func_register.php
diff options
context:
space:
mode:
Diffstat (limited to 'Wrapper/Functions/func_register.php')
-rw-r--r--Wrapper/Functions/func_register.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Wrapper/Functions/func_register.php b/Wrapper/Functions/func_register.php
index 99741a3..6a081a9 100644
--- a/Wrapper/Functions/func_register.php
+++ b/Wrapper/Functions/func_register.php
@@ -2,13 +2,13 @@
// ****************************************************************************
// Description: Fonction d'inscription d'un nouvel utilisateur
// ****************************************************************************
-function register($email, $password, $is_admin, $is_user, $is_consultant) {
+function register($email, $password, $is_client, $is_pro, $is_admin) {
$dbuser = new DbUser;
$registered = $dbuser->add_user($email,
$password,
- $is_admin,
- $is_user,
- $is_consultant
+ $is_client,
+ $is_pro,
+ $is_admin
);
// Sélection du message à afficher en fonction de la réussite de l'inscription.
if ($registered) {