diff --git a/NodeApp/src/managers/SessionManager.ts b/NodeApp/src/managers/SessionManager.ts index 208c2dd28693ea3e78d9d104068f873f12e53581..18f91796c6bf0075f4d5567af3ad4d16e714d924 100644 --- a/NodeApp/src/managers/SessionManager.ts +++ b/NodeApp/src/managers/SessionManager.ts @@ -141,6 +141,11 @@ class SessionManager { private getGitlabCodeFromGraphicEnvironment(): Promise<string> { return new Promise<string>((resolve, reject) => { + ora({ + text : 'GUI mode (for headless mode, use the --cli option)', + indent: 4 + }).start().info(); + let currentSpinner: ora.Ora = ora({ text : 'Starting login server', indent: 4 @@ -150,7 +155,7 @@ class SessionManager { loginServer.events.on('started', () => { currentSpinner.succeed('Login server started'); currentSpinner = ora({ - text : 'Waiting for user to authorize the application in his web browser', + text : `Waiting for user to authorize the application in his web browser. If the browser does not open automatically, please go to : ${ Config.login.gitlab.url.code }`, indent: 4 }).start(); open(Config.login.gitlab.url.code).then();