mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Set $accessTokenName
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
9680b02bce
commit
9b6fd7e19a
|
@ -57,7 +57,8 @@ class GeneratePersonalAccessToken extends Command
|
|||
public function handle()
|
||||
{
|
||||
|
||||
if ($this->option('name')=='') {
|
||||
$accessTokenName = $this->option('name');
|
||||
if ($accessTokenName=='') {
|
||||
$accessTokenName = 'CLI Auth Token';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue