mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +05:30
Return password
This commit is contained in:
parent
b3da61822e
commit
1a4cc3b750
@ -8,7 +8,7 @@ class Users
|
|||||||
{
|
{
|
||||||
public function get($username = null)
|
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) {
|
if ($username !== null) {
|
||||||
$query->where('username', '=', $username);
|
$query->where('username', '=', $username);
|
||||||
|
Loading…
Reference in New Issue
Block a user