diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-26 19:36:57 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-26 19:36:57 -0500 |
commit | e29260879d47ece8adbb2a5dc12b8af9fa3b8bb7 (patch) | |
tree | 6aafdf14830fc9b83101802315b312bd4c8cd4bb /app | |
parent | 7db5dddbc8fc3f2ddea52646c3765c9839e2b05f (diff) | |
parent | 63a286147685073102270f4974d85b32818641c5 (diff) |
Merge pull-request #1722
Diffstat (limited to 'app')
-rw-r--r-- | app/Api/User.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Api/User.php b/app/Api/User.php index 63c222fe..9f26615d 100644 --- a/app/Api/User.php +++ b/app/Api/User.php @@ -21,6 +21,11 @@ class User extends \Kanboard\Core\Base return $this->user->getById($user_id); } + public function getUserByName($username) + { + return $this->user->getByUsername($username); + } + public function getAllUsers() { return $this->user->getAll(); |