Skip to content

Commit 7540d4e

Browse files
authored
Update JwtAuth.php
1 parent 7950dc4 commit 7540d4e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/Service/JwtAuth.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,10 @@ public function logout(string $token = null)
122122
$token = $service->parse($token);
123123
$this->app->get('jwt.manager')->logout($token);
124124
}
125+
126+
public function user()
127+
{
128+
return $this->app->get('jwt.user')->find();
129+
}
130+
125131
}

0 commit comments

Comments
 (0)