summaryrefslogtreecommitdiff
path: root/app/Api/User.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Api/User.php')
-rw-r--r--app/Api/User.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Api/User.php b/app/Api/User.php
index 00d35796..105723d3 100644
--- a/app/Api/User.php
+++ b/app/Api/User.php
@@ -39,7 +39,7 @@ class User extends \Kanboard\Core\Base
'is_project_admin' => $is_project_admin,
);
- list($valid,) = $this->user->validateCreation($values);
+ list($valid, ) = $this->user->validateCreation($values);
return $valid ? $this->user->create($values) : false;
}
@@ -81,7 +81,7 @@ class User extends \Kanboard\Core\Base
}
}
- list($valid,) = $this->user->validateApiModification($values);
+ list($valid, ) = $this->user->validateApiModification($values);
return $valid && $this->user->update($values);
}
}