grepleaks 1.2.4 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/grepleaks.js +4 -1
- package/package.json +1 -1
package/bin/grepleaks.js
CHANGED
|
@@ -569,8 +569,11 @@ async function loginWithEmail() {
|
|
|
569
569
|
|
|
570
570
|
async function loginWithGitHub() {
|
|
571
571
|
log(`\n${c.cyan}${c.bold}${t('loginGitHubTitle')}${c.reset}\n`);
|
|
572
|
+
const loginUrl = `${WEB_URL}/login?cli=true&provider=github`;
|
|
573
|
+
log(`If your browser doesn't open, visit this URL:`);
|
|
574
|
+
log(`${c.cyan}${loginUrl}${c.reset}\n`);
|
|
572
575
|
info(t('loginOpeningBrowser'));
|
|
573
|
-
openBrowser(
|
|
576
|
+
openBrowser(loginUrl);
|
|
574
577
|
|
|
575
578
|
log(`\n${t('loginTokenPrompt')}\n`);
|
|
576
579
|
const token = await prompt(t('loginTokenInput'));
|