summaryrefslogtreecommitdiff
path: root/app/Model/User.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-29 20:15:53 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-29 20:15:53 -0500
commitdae0c7391ab8308506bddc5fff76414a3bb87ce4 (patch)
tree1b594635ceee536c986b8f4f24a7122858ab7fc3 /app/Model/User.php
parent915bf5882293d7041e8e5d0f5c32b8acf0938148 (diff)
Move Google authentication to an external plugin
Diffstat (limited to 'app/Model/User.php')
-rw-r--r--app/Model/User.php15
1 files changed, 1 insertions, 14 deletions
diff --git a/app/Model/User.php b/app/Model/User.php
index ac0e7491..0174a040 100644
--- a/app/Model/User.php
+++ b/app/Model/User.php
@@ -48,20 +48,7 @@ class User extends Base
*/
public function getQuery()
{
- return $this->db
- ->table(self::TABLE)
- ->columns(
- 'id',
- 'username',
- 'name',
- 'email',
- 'role',
- 'is_ldap_user',
- 'notifications_enabled',
- 'google_id',
- 'github_id',
- 'twofactor_activated'
- );
+ return $this->db->table(self::TABLE);
}
/**