Set $accessTokenName
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
9680b02bce
commit
9b6fd7e19a
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue