Skip to content

Commit 13f8ea4

Browse files
author
Manus AI
committed
fix: Correct set-auth to use --registry parameter and update install completion message
1 parent a1eb17f commit 13f8ea4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ async function verifyCommand(options) {
899899
console.log('\n🔑 Your Registry Token:');
900900
console.log(` ${response.data.token}`);
901901
console.log('\n💡 Save this token securely! You\'ll need it to authenticate with the registry.');
902-
console.log(' Use: flb set-auth ' + response.data.token + (host !== 'https://api.fleetbase.io' ? ` --host ${host}` : ''));
902+
console.log(' Use: flb set-auth ' + response.data.token + (host !== 'https://api.fleetbase.io' ? ` --registry ${host}` : ''));
903903
}
904904

905905
console.log('\n✓ You can now login with: flb login -u <username>' + (host !== 'https://api.fleetbase.io' ? ` --host ${host}` : ''));
@@ -988,7 +988,7 @@ async function generateTokenCommand(options) {
988988
console.log('\n🔑 Your Registry Token:');
989989
console.log(` ${response.data.token}`);
990990
console.log('\n💡 Save this token securely! You\'ll need it to authenticate with the registry.');
991-
console.log(' Use: flb set-auth ' + response.data.token + (host !== 'https://api.fleetbase.io' ? ` --host ${host}` : ''));
991+
console.log(' Use: flb set-auth ' + response.data.token + (host !== 'https://api.fleetbase.io' ? ` --registry ${host}` : ''));
992992
console.log('\n⚠️ Note: This replaces any previously generated token.');
993993
} else {
994994
console.error('\nToken generation failed:', response.data.message || 'Unknown error');
@@ -1275,9 +1275,9 @@ OSRM_HOST=https://router.project-osrm.org
12751275
console.log('\n🏁 Fleetbase is up!');
12761276
console.log(` API → ${schemeApi}://${host}:8000`);
12771277
console.log(` Console → ${schemeConsole}://${host}:4200\n`);
1278-
console.log('ℹ️ Default credentials:');
1279-
console.log(' Email: admin@fleetbase.io');
1280-
console.log(' Password: password\n');
1278+
console.log('ℹ️ Next steps:');
1279+
console.log(' 1. Open the Console URL in your browser');
1280+
console.log(' 2. Complete the onboarding process to create your admin account\n');
12811281
});
12821282
});
12831283
});

0 commit comments

Comments
 (0)