Skip to content

Commit

Permalink
inew user clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfolaron committed Apr 16, 2022
1 parent a57b42d commit f74cb3d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/domain/users/controllers/class.newUser.php
Expand Up @@ -55,10 +55,6 @@ public function run()
$values['clientId'] = core\login::getUserClientId();
}

//Validation
//print_r($_POST);
# exit();

if ($values['user'] !== '') {
if ($_POST['password'] == $_POST['password2']) {
if (filter_var($values['user'], FILTER_VALIDATE_EMAIL)) {
Expand All @@ -67,7 +63,6 @@ public function run()

$userId = $userRepo->addUser($values);


//Update Project Relationships
if (isset($_POST['projects'])) {
if ($_POST['projects'][0] !== '0') {
Expand Down

0 comments on commit f74cb3d

Please sign in to comment.