File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -893,7 +893,16 @@ async function verifyCommand(options) {
893893
894894 if ( response . data . status === 'success' ) {
895895 console . log ( '\n✓ Email verified successfully!' ) ;
896- console . log ( '✓ You can now login with: flb login -u <username>' + ( host !== 'https://api.fleetbase.io' ? ` --host ${ host } ` : '' ) ) ;
896+
897+ // Display registry token if provided
898+ if ( response . data . token ) {
899+ console . log ( '\n🔑 Your Registry Token:' ) ;
900+ console . log ( ` ${ response . data . token } ` ) ;
901+ 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 } ` : '' ) ) ;
903+ }
904+
905+ console . log ( '\n✓ You can now login with: flb login -u <username>' + ( host !== 'https://api.fleetbase.io' ? ` --host ${ host } ` : '' ) ) ;
897906 } else {
898907 console . error ( '\nVerification failed:' , response . data . message || 'Unknown error' ) ;
899908 process . exit ( 1 ) ;
You can’t perform that action at this time.
0 commit comments