From 1a4cc3b750267d33784ab1435c8259c89d9dc988 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Mon, 4 Aug 2014 15:26:26 +0100 Subject: [PATCH] Return password --- examples/relational/Model/Users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/relational/Model/Users.php b/examples/relational/Model/Users.php index 6e8f76de..44af86f3 100644 --- a/examples/relational/Model/Users.php +++ b/examples/relational/Model/Users.php @@ -8,7 +8,7 @@ class Users { public function get($username = null) { - $query = Capsule::table('users')->select(['username', 'name', 'email', 'photo']); + $query = Capsule::table('users')->select(['username', 'password', 'name', 'email', 'photo']); if ($username !== null) { $query->where('username', '=', $username);