Fix FLEXIAPI-170 Fix undefined variable apiKey in CreateAdminAccount

This commit is contained in:
Timothée Jaussoin 2024-05-02 13:08:16 +02:00
parent 905c440fde
commit 3a9e62394c
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
v1.5
----
- Fix FLEXIAPI-170 Fix undefined variable apiKey in CreateAdminAccount
- Fix FLEXIAPI-168 Add POST /accounts/me/email to confirm the email change
- Fix FLEXIAPI-167 Add the handling of a custom identifier for the JWT tokens on top of the email one
- Fix FLEXIAPI-166 Reimplement the deprecated email validation URL

View file

@ -86,7 +86,7 @@ class CreateAdminAccount extends Command
$account->generateApiKey();
$account->updatePassword($password);
$this->info('Admin test account created: "' . $username . '@' . $domain . '" | Password: "' . $password . '" | API Key: "' . $apiKey->key . '"');
$this->info('Admin test account created: "' . $username . '@' . $domain . '" | Password: "' . $password . '" | API Key: "' . $account->apiKey->key . '"');
return 0;
}