From 0b89d4ee91f5233e5c0ea3af415635d0b1deaccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Garrido=20Labrador?= Date: Sun, 21 Oct 2018 21:26:09 +0200 Subject: [PATCH] Register not validate --- Source/index.php | 4 ++-- Source/src/users.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/index.php b/Source/index.php index 901a859..a80d27a 100644 --- a/Source/index.php +++ b/Source/index.php @@ -1,9 +1,9 @@ run(); diff --git a/Source/src/users.php b/Source/src/users.php index 2e6b63f..e639c7f 100644 --- a/Source/src/users.php +++ b/Source/src/users.php @@ -54,7 +54,7 @@ function register($email,$emailre,$pass,$passre,$nick,$db){ return 'POST_ERROR'; $state = $db->register($email,$pass,$nick); if($state == 'CORRECT') { - return checklogin($email, $pass,$db); + return ""; }else { return $state; }