mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Show user info as well
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
112f147596
commit
e7de7d1716
|
@ -71,6 +71,7 @@ class GeneratePersonalAccessToken extends Command
|
|||
$this->info($user->createToken($accessTokenName)->accessToken);
|
||||
} else {
|
||||
$this->warn('Your API Token has been created. Be sure to copy this token now, as it will not be accessible again.');
|
||||
$this->info('API Token User: '.$user->present()->fullName.' ('.$user->username.')');
|
||||
$this->info('API Token Name: '.$accessTokenName);
|
||||
$this->info('API Token: '.$user->createToken($accessTokenName)->accessToken);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue