summaryrefslogtreecommitdiff
path: root/Core/Functions/func_register.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Functions/func_register.php')
-rw-r--r--Core/Functions/func_register.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Core/Functions/func_register.php b/Core/Functions/func_register.php
index d0b7ba2..4c6b00a 100644
--- a/Core/Functions/func_register.php
+++ b/Core/Functions/func_register.php
@@ -20,7 +20,7 @@ function register($email, $password, $userStatus) {
&& preg_match($regEmail, $email)
) {
$dbuser = new DbUser;
-
+
$registered = $dbuser->register_user($email,
$password,
$userStatus
@@ -40,7 +40,7 @@ function register($email, $password, $userStatus) {
} else {
// Si le mdp est arrivé jusque là et est insuffisament "fort"
$message = ["userAdd", "fail"];
-
+
// Redirection vers message avec l'index du message à afficher.
$_SESSION["message"] = $message;
header("Location: /Template/message.php");